Explanation of the function used in embedded systems

* Can anyone explain exactly what the __raw_writel function does and what the __raw_writel arguments *

+4
source share
1 answer

I'm not quite sure which implementation or where you are using it. But judging by this , it is used to write data to I / O memory, and is also mentioned. What is the difference between b / w __raw_readl / __ raw_writel and readl / writel in the linux kernel? ,

  • raw stands for native byte order; non-raw stands for little-endian
  • __prefix alternatives do not include memory barriers.

In addition, you should try looking at http://lxr.free-electrons.com/source/arch/microblaze/include/asm/io.h#L66 to find out more details and arguments for this function.

0
source

All Articles