Revision 1d108d97 hw/pc.c

b/hw/pc.c
967 967
    if (oprom_area_size < 0x8000)
968 968
        oprom_area_size = 0x8000;
969 969

  
970
    /* map all the bios at the top of memory */
971
    cpu_register_physical_memory((uint32_t)(-bios_size),
972
                                 bios_size, bios_offset | IO_MEM_ROM);
973

  
974
    bochs_bios_init();
975

  
970 976
    if (linux_boot) {
971 977
        load_linux(0xc0000 + oprom_area_size,
972 978
                   kernel_filename, initrd_filename, kernel_cmdline, below_4g_mem_size);
......
993 999
                                           0xe0000);
994 1000
    }
995 1001

  
996
    /* map all the bios at the top of memory */
997
    cpu_register_physical_memory((uint32_t)(-bios_size),
998
                                 bios_size, bios_offset | IO_MEM_ROM);
999

  
1000
    bochs_bios_init();
1001

  
1002 1002
    cpu_irq = qemu_allocate_irqs(pic_irq_request, NULL, 1);
1003 1003
    i8259 = i8259_init(cpu_irq[0]);
1004 1004
    ferr_irq = i8259[13];

Also available in: Unified diff