There are two executables readl and writel which can be used to write arm register on linux (I am working with DM365 and montavista).
I wonder how these work in the user space since they don't need an external module to be loaded, maybe there is an internal module already available.
I am going to write a kernel module but the existence of these two functions make me suppose that maybe there is already something I can use.
Maybe they use the memory mapped register opening the /dev/mem ? Is it possible to have some more detail, or possibly the souce code of the two functions?
Thank you.