This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Big Endian port
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: "Agarwal, Lomesh" <lomesh dot agarwal at intel dot com>
- Cc: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 04 Apr 2002 05:31:50 +0100
- Subject: Re: [ECOS] Big Endian port
- References: <01BDB7EEF8D4D3119D95009027AE999512F65EBA@FMSMSX33>
"Agarwal, Lomesh" wrote:
>
> I am trying to port RedBoot for Xscale from Little endian to Big endian. Can
> someone help me in identifying the items I need to take care.
The biggest problem is usually interfacing with devices. Depending on the
hardware you may need to byte swap every time you access them. A driver
expecting LE all the time wouldn't expect this.
The generic ARM HAL supports big endian operation though - we have it for
ye olde PID.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss