summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authoraurel322008-10-24 15:12:42 +0200
committeraurel322008-10-24 15:12:42 +0200
commit7d0adcd6d57149d4e9ec66f3a1c171df2bea2775 (patch)
treec46e722430204b757c57c7ea4c0147291e73d966 /hw
parentFix typos in PPC TCG conversion. (diff)
downloadqemu-7d0adcd6d57149d4e9ec66f3a1c171df2bea2775.tar.gz
qemu-7d0adcd6d57149d4e9ec66f3a1c171df2bea2775.tar.xz
qemu-7d0adcd6d57149d4e9ec66f3a1c171df2bea2775.zip
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
Diffstat (limited to 'hw')
-rw-r--r--hw/pc.c2
1 files changed, 0 insertions, 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);