Krzysztof Halasa wrote:
Timur Tabi <[email protected]> writes:There is no such thing as bit-order.Yes, there is. You need to read the article at http://www.linuxjournal.com/article/6788. Explains what it means for bits to be in one order versus another. This is from the perspective of external devices, not the CPU (which is always consistent with regards to bit order)Have you ever seen a device or platform with the bits reversed?
I think when the PowerPC is running in little-endian mode, that might be the case. It needs to be able to write a byte in big-endian mode, and then read that byte back in little-endian mode and have it be the same byte.
-- Timur Tabi Linux Kernel Developer @ Freescale - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Krzysztof Halasa <[email protected]>
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- References:
- __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Timur Tabi <[email protected]>
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Jan Engelhardt <[email protected]>
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Timur Tabi <[email protected]>
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Anton Altaparmakov <[email protected]>
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Timur Tabi <[email protected]>
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: [email protected] (Lennart Sorensen)
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Timur Tabi <[email protected]>
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Krzysztof Halasa <[email protected]>
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Timur Tabi <[email protected]>
- Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- From: Krzysztof Halasa <[email protected]>
- __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- Prev by Date: Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- Next by Date: [PATCH] architectural pstate driver for powernow-k8
- Previous by thread: Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- Next by thread: Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD
- Index(es):