开发者

Dereferencing ioremap addresses

In the Linux kernel, why is it not advisable to dereference the kernel linear addresses obtained by mapping I/O physical addresses using ioremap开发者_如何学运维 ? Why should those mapped linear addresses be dereferenced using functions like readl/writel ?


Some architectures require special instructions to be used to access the IO ports, for example to bypass the cache.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜