Forum Discussion
Altera_Forum
Honored Contributor
20 years agothe linux provides the following facilities to read/write io regs:
inb/outb, inw/outw, inl/outl, ... the following to read/write device memories (bypass caches): readb/writeb, readw/writew, readl/writel. these facilities are implemented using cache bypassing instructions. If you want to read/write IO regions like normal ram access, you can use the 31 bit address line. Without an MMU, uClinux has no other way of bypassing cache for specific region.