]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commitdiff
refuse write accesses in BIOS area (aka EMM386.EXE fix) (Mike Nordell)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 7 Apr 2004 20:21:16 +0000 (20:21 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 7 Apr 2004 20:21:16 +0000 (20:21 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@712 c046a42c-6fe2-441c-8c8c-71466251a162

hw/pc.c

diff --git a/hw/pc.c b/hw/pc.c
index e62d56da1c3b70b14e9023fe7dbda1bcd92685e0..496f365e6b44eaf291b3d829364d6c6bed2a5f34 100644 (file)
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -302,6 +302,7 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
     
     /* setup basic memory access */
     cpu_register_physical_memory(0xc0000, 0x10000, 0xc0000 | IO_MEM_ROM);
+    cpu_register_physical_memory(0xd0000, 0x20000, IO_MEM_UNASSIGNED);
     cpu_register_physical_memory(0xf0000, 0x10000, 0xf0000 | IO_MEM_ROM);
     
     bochs_bios_init();