mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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>
This commit is contained in:
parent
b093c1a327
commit
968d683c04
14 changed files with 36 additions and 119 deletions
|
@ -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 *));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue