Am 08.01.2012 12:11, schrieb Avi Kivity: > On 01/07/2012 10:45 AM, Andreas Färber wrote: >> This series fixes endianness issues in the memory core. >> Apparently the actual byte swapping had not yet been tested. > > /me hangs head. But strangely, sparc-test, mips-test, and > ppc-virtex-ml507 (after the idstr fix) all boot for me.
IIUC the byte swaps only have to happen when some MemoryRegion has an endianness other than the target. So when CHRP uses BE and native I/O exclusively it may work, whereas someone once summarized PReP as "a PC with a PowerPC CPU". ;) Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg