Commit bb058620c3b6bbddb99c9afff956dded7139897b

Authored by bellard
1 parent 9eb153f1

refuse write accesses in BIOS area (aka EMM386.EXE fix) (Mike Nordell)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@712 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
... ... @@ -302,6 +302,7 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
302 302  
303 303 /* setup basic memory access */
304 304 cpu_register_physical_memory(0xc0000, 0x10000, 0xc0000 | IO_MEM_ROM);
  305 + cpu_register_physical_memory(0xd0000, 0x20000, IO_MEM_UNASSIGNED);
305 306 cpu_register_physical_memory(0xf0000, 0x10000, 0xf0000 | IO_MEM_ROM);
306 307  
307 308 bochs_bios_init();
... ...