mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -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
|
@ -271,11 +271,7 @@ void mips_r4k_init (ram_addr_t ram_size,
|
|||
rtc_init(2000, NULL);
|
||||
|
||||
/* Register 64 KB of ISA IO space at 0x14000000 */
|
||||
#ifdef TARGET_WORDS_BIGENDIAN
|
||||
isa_mmio_init(0x14000000, 0x00010000, 1);
|
||||
#else
|
||||
isa_mmio_init(0x14000000, 0x00010000, 0);
|
||||
#endif
|
||||
isa_mmio_init(0x14000000, 0x00010000);
|
||||
isa_mem_base = 0x10000000;
|
||||
|
||||
pit = pit_init(0x40, i8259[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue