NetBSD-Users archive

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

Re: Wrong Endian platform suggestions



On Tue, Aug 09, 2016 at 01:30:07AM -0700, Hal Murray wrote:
> Or is there a mode bit that the CPU can set?  (maybe in a page table)

It is an instruction:	setend be

U-boot stays the same, the kernel switches mode as first instruction.

> Is that feature in all ARM CPUs, or just a few?  Would the same thing work on 
> a Raspberry Pi?

Most newer cpus can do it, but to make it usefull all drivers need to support
it as well, and on the Pi all communication with the GPU is done little
endian, so that would be a bit of effort.

Martin


Home | Main Index | Thread Index | Old Index