Commit 7d0adcd6d57149d4e9ec66f3a1c171df2bea2775

Authored by aurel32
1 parent 2e31f5d3

hw/pc: don't register the memory hole as unassigned twice

Since revision 5228, we don't register the memory hole (0xa00000 to
0xfffff) anymore. As a consequence, we don't need to register it again
as unassigned.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5522 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 2 deletions
... ... @@ -853,8 +853,6 @@ static void pc_init1(ram_addr_t ram_size, int vga_ram_size,
853 853 isa_bios_size = bios_size;
854 854 if (isa_bios_size > (128 * 1024))
855 855 isa_bios_size = 128 * 1024;
856   - cpu_register_physical_memory(0xd0000, (192 * 1024) - isa_bios_size,
857   - IO_MEM_UNASSIGNED);
858 856 cpu_register_physical_memory(0x100000 - isa_bios_size,
859 857 isa_bios_size,
860 858 (bios_offset + bios_size - isa_bios_size) | IO_MEM_ROM);
... ...