mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Compile isa_mmio only once
Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
7161e5710b
commit
84108e128e
14 changed files with 96 additions and 36 deletions
|
@ -261,7 +261,11 @@ void mips_r4k_init (ram_addr_t ram_size,
|
|||
rtc_state = rtc_init(2000);
|
||||
|
||||
/* Register 64 KB of ISA IO space at 0x14000000 */
|
||||
isa_mmio_init(0x14000000, 0x00010000);
|
||||
#ifdef TARGET_WORDS_BIGENDIAN
|
||||
isa_mmio_init(0x14000000, 0x00010000, 1);
|
||||
#else
|
||||
isa_mmio_init(0x14000000, 0x00010000, 0);
|
||||
#endif
|
||||
isa_mem_base = 0x10000000;
|
||||
|
||||
pit = pit_init(0x40, i8259[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue