VirtualBox

Changeset 45618 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 18, 2013 6:41:07 PM (12 years ago)
Author:
vboxsync
Message:

Do HMR3Init first in vmR3InitRing3 so the other components can skip raw-mode bits during init.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/HMAll.cpp

    r44528 r45618  
    3636
    3737
     38
     39/**
     40 * Query HM state (enabled/disabled)
     41 *
     42 * @returns @c false if disabled, @c true if enabled.
     43 * @param   pVM         The cross context VM structure.
     44 * @sa      HMIsEnabled, HMR3IsEnabled
     45 * @internal
     46 */
     47VMMDECL(bool) HMIsEnabledNotMacro(PVM pVM)
     48{
     49    Assert(pVM->fHMEnabledFixed);
     50    return pVM->fHMEnabled;
     51}
     52
     53
    3854/**
    3955 * Queues a page for invalidation
  • trunk/src/VBox/VMM/VMMAll/MMAll.cpp

    r44528 r45618  
    257257                return (RTR0PTR)((RTR0UINTPTR)pLookup->u.Locked.pvR0 + off);
    258258#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE
    259             AssertMsg(!VMMIsHwVirtExtForced(pVM), ("%s\n", R3STRING(pLookup->pszDesc)));
     259            AssertMsg(!HMIsEnabled(pVM), ("%s\n", R3STRING(pLookup->pszDesc)));
    260260#else
    261261            AssertMsgFailed(("%s\n", R3STRING(pLookup->pszDesc))); NOREF(pVM);
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