Re: How to translate Little to Big endian ?

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

 



Hi Prabhakar,

> I'm trying to port linux-2.4.21 on CSB250 , which is
> Au1500 processor based board,
> the processor is a Big endian, I have taken PB1500
> board as my prototype, but it's used Au1500 Little
> endian.
> anybody could help me out, what are the changes do i
> need to change to make a Little endian souce into
> Big endian source.

   Guess you are looking for a library call to do
this.
If i am correct, then htonl function will serve the
purpose.

My $0.02

Thanks,
-karthi
 
> Is anybody worked on Cogent's CSB250 board till.
> 
> Thanks in advance
> Prabhakar
> 
>  

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux