Re: ARM Linux big endian support

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Andrew E. Mileski
Date:  
CC: 'linux-arm-kernel@lists.arm.linux.org.uk'
Subject: Re: ARM Linux big endian support
ussell King - ARM Linux wrote:
>
> First thing I'd say is don't be confused by "Big Endian" on ARM. There
> aren't 2 endian-nesses available with ARM, there's 4:
>
>         1. little endian with devices connected little endian
>         2. little endian with devices connected big endian
>         3. big endian with devices connected little endian
>         4. big endian with devices connected big endian

>
> Only (1) and (4) are true little/big endian. (2) and (3) are fake.


I'll add that the processor endian bit affects only data fetches,
and not instruction fetches. The offsets in instructions are always
little endian, so might as well as keep things simple and use it.

--
Andrew E. Mileski
Ottawa, Canada