VirtualBox

Changeset 18663 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 2, 2009 7:08:14 PM (16 years ago)
Author:
vboxsync
Message:

Devices: Clean out the VBOX_WITH_NEW_PHYS_CODE #ifdefs.

Location:
trunk/src/VBox/Devices/PC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPcArch.c

    r18101 r18663  
    251251    if (RT_FAILURE(rc))
    252252        return rc;
    253 
    254 #ifndef VBOX_WITH_NEW_PHYS_CODE
    255     /*
    256      * Reserve ROM/MMIO areas:
    257      * 1. 0x000a0000-0x000fffff
    258      * 2. 0xfff80000-0xffffffff
    259      * Note: This will be removed before long.
    260      */
    261     rc = MMR3PhysReserve(PDMDevHlpGetVM(pDevIns), 0x000a0000, 0x50000, "Low ROM Region");
    262     if (RT_FAILURE(rc))
    263         return rc;
    264     rc = MMR3PhysReserve(PDMDevHlpGetVM(pDevIns), 0xfff80000, 0x80000, "High ROM Region");
    265     if (RT_FAILURE(rc))
    266         return rc;
    267 #endif
    268253
    269254    return VINF_SUCCESS;
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r18557 r18663  
    12241224        pcbiosPlantMPStable(pDevIns, pThis->au8DMIPage + VBOX_DMI_TABLE_SIZE, pThis->cCpus);
    12251225
    1226 #ifdef VBOX_WITH_NEW_PHYS_CODE
    12271226    /*
    12281227     * Re-shadow the LAN ROM image and make it RAM/RAM.
     
    12581257        cPages--;
    12591258    }
    1260 #endif
    12611259}
    12621260
     
    17671765        rc = PDMDevHlpROMRegister(pDevIns, VBOX_LANBOOT_SEG << 4, cbLanBootBinary, pu8LanBootBinary,
    17681766                                  PGMPHYS_ROM_FLAGS_SHADOWED, "Net Boot ROM");
    1769 #ifdef VBOX_WITH_NEW_PHYS_CODE
    17701767        if (RT_SUCCESS(rc))
    17711768        {
     
    17751772            AssertRCReturn(rc, rc);
    17761773        }
    1777 #endif
    17781774    }
    17791775
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette