aboutsummaryrefslogtreecommitdiff
path: root/hw/heathrow_pic.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-09-13 10:41:23 +0200
committerAlexander Graf <agraf@suse.de>2011-10-06 09:48:07 +0200
commit0157644c7b0bce8f3169bb17ca588ad1e8039fe2 (patch)
treed451bdb548f3c0d383ab9d242b30abef0005a5fb /hw/heathrow_pic.c
parentea0a7eb4603d5929d25ac32e27d2e318b5cea910 (diff)
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 <agraf@suse.de>
Diffstat (limited to 'hw/heathrow_pic.c')
-rw-r--r--hw/heathrow_pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/heathrow_pic.c b/hw/heathrow_pic.c
index 51996ab793..16f48d12e1 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)