Big-endian I/O memory
Posted Apr 22, 2005 15:59 UTC (Fri) by
scarabaeus (subscriber, #7142)
Parent article:
Big-endian I/O memory
> void iowrite16be (u16 datum, void __iomem *addr);
> viod iowrite32be (u32 datum, void __iomem *addr);
^^
> These functions will handle the necessary byte swapping (or lack thereof)
to present properly-ordered values on the host architecture.
Hmmm - looks like you took "byte-swapping" a little too literally there! ;-)
(
Log in to post comments)