User: Password:
Subscribe / Log in / New account

Big-endian I/O memory

Big-endian I/O memory

Posted Apr 22, 2005 15:59 UTC (Fri) by scarabaeus (guest, #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)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds