VirtualBox

Changeset 50113 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jan 20, 2014 11:57:31 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91655
Message:

Because of the CPUID leaves we'll need the heap to always be mapped into ring-0 in the VBOX_WITH_2X_4GB_ADDR_SPACE case (mac).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/MMHyper.cpp

    r50112 r50113  
    817817                              &pv,
    818818#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE
    819                               HMIsEnabled(pVM) ? &pvR0 : NULL,
     819                              &pvR0,
    820820#else
    821821                              NULL,
     
    824824    if (RT_SUCCESS(rc))
    825825    {
    826 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE
    827         if (!HMIsEnabled(pVM))
    828             pvR0 = NIL_RTR0PTR;
    829 #else
     826#ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
    830827        pvR0 = (uintptr_t)pv;
    831828#endif
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