Re: Sparc, dma mapping and endianness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Roland Vossen" <rvossen@xxxxxxxxxxxx>
Date: Sun, 31 Jul 2011 10:36:40 +0200

> I read that the Sparc-V9 64 bit architecture also supports endianness
> swapping of pages. I wonder if it is easy to make use of this
> functionality in Linux.

Not really.

You'll need to use le32_to_cpu() and friends on the data when
interpreting it.  Or even better, le32_to_cpup() which works
on pointers and emits little-endian loads on sparc v9.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux