This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Big Endian port


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]