From: Alexander Graf Date: Tue, 13 Sep 2011 08:41:23 +0000 (+0200) Subject: PPC: Fix heathrow PIC to use little endian MMIO X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~5202^2~6^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0157644c7b0bce8f3169bb17ca588ad1e8039fe2;p=sdk%2Femulator%2Fqemu.git PPC: Fix heathrow PIC to use little endian MMIO During the memory API conversion, the indication on little endianness of MMIO for the heathrow PIC got dropped. This patch adds it back again. Signed-off-by: Alexander Graf --- diff --git a/hw/heathrow_pic.c b/hw/heathrow_pic.c index 51996ab..16f48d1 100644 --- a/hw/heathrow_pic.c +++ b/hw/heathrow_pic.c @@ -126,7 +126,7 @@ static uint64_t pic_read(void *opaque, target_phys_addr_t addr, static const MemoryRegionOps heathrow_pic_ops = { .read = pic_read, .write = pic_write, - .endianness = DEVICE_NATIVE_ENDIAN, + .endianness = DEVICE_LITTLE_ENDIAN, }; static void heathrow_pic_set_irq(void *opaque, int num, int level)