diff options
author | Alexander Graf <agraf@suse.de> | 2010-12-08 12:05:49 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-12-11 15:24:26 +0000 |
commit | 968d683c042d80821a00a76608ae770a7401cac0 (patch) | |
tree | 90528f9386c5712a6a6c15de6b2a3eff5852a5f6 /hw/ppc_oldworld.c | |
parent | b093c1a3277d4ce531a1a36f85dd542c60db3809 (diff) | |
download | qemu-968d683c042d80821a00a76608ae770a7401cac0.zip qemu-968d683c042d80821a00a76608ae770a7401cac0.tar.gz qemu-968d683c042d80821a00a76608ae770a7401cac0.tar.bz2 |
isa_mmio: Always use little endian
This patch converts the ISA MMIO bridge code to always use little endian mmio.
All bswap code that existed was only there to convert from native cpu
endianness to little endian ISA devices.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ppc_oldworld.c')
-rw-r--r-- | hw/ppc_oldworld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c index 5efc93d..8a4e088 100644 --- a/hw/ppc_oldworld.c +++ b/hw/ppc_oldworld.c @@ -202,7 +202,7 @@ static void ppc_heathrow_init (ram_addr_t ram_size, isa_mem_base = 0x80000000; /* Register 2 MB of ISA IO space */ - isa_mmio_init(0xfe000000, 0x00200000, 1); + isa_mmio_init(0xfe000000, 0x00200000); /* XXX: we register only 1 output pin for heathrow PIC */ heathrow_irqs = qemu_mallocz(smp_cpus * sizeof(qemu_irq *)); |