From 7d0adcd6d57149d4e9ec66f3a1c171df2bea2775 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Fri, 24 Oct 2008 13:12:42 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5522 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/pc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 34683e7920..167d628fca 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -853,8 +853,6 @@ static void pc_init1(ram_addr_t ram_size, int vga_ram_size, isa_bios_size = bios_size; if (isa_bios_size > (128 * 1024)) isa_bios_size = 128 * 1024; - cpu_register_physical_memory(0xd0000, (192 * 1024) - isa_bios_size, - IO_MEM_UNASSIGNED); cpu_register_physical_memory(0x100000 - isa_bios_size, isa_bios_size, (bios_offset + bios_size - isa_bios_size) | IO_MEM_ROM);