VirtualBox

Changeset 70866 in vbox for trunk/src


Ignore:
Timestamp:
Feb 5, 2018 1:44:39 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120692
Message:

DevPcArch: Reserving the last 64K below 1M upsets OS X (EFI) guests. Normally the BIOS is there anyway.

File:
1 edited

Legend:

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

    r70743 r70866  
    212212/**
    213213 * @interface_method_impl{PDMDEVREG,pfnInitComplete,
    214  *      Turn RAM pages between 0xa0000 and 0xfffff into reserved memory.}
     214 *      Turn RAM pages between 0xa0000 and 0xeffff into reserved memory.}
     215 * NB: At least some OS X versions (El Capitan, Sierra) get upset and panic
     216 * early in the boot when we make memory between 0x0f0000-0x100000 reserved
     217 * and non-writable.
    215218 */
    216219static DECLCALLBACK(int) pcarchInitComplete(PPDMDEVINS pDevIns)
     
    218221    PVM             pVM       = PDMDevHlpGetVM(pDevIns);
    219222    int             iRegion   = 0;
    220     RTGCPHYS const  GCPhysEnd = 0x100000;
     223    RTGCPHYS const  GCPhysEnd = 0x0f0000;
    221224    RTGCPHYS        GCPhysCur = 0x0a0000;
    222225    do
Note: See TracChangeset for help on using the changeset viewer.

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