VirtualBox

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


Ignore:
Timestamp:
Jul 23, 2018 2:04:59 PM (6 years ago)
Author:
vboxsync
Message:

HM,SELM: Redefined HMIsRawModeCtxNeeded as accessor for VM::fHMNeedRawModeCtx, i.e. dropping old fashioned raw-mode from it's definition. bugref:9044

File:
1 edited

Legend:

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

    r73097 r73322  
    148148    pVM->selm.s.aHyperSel[SELM_HYPER_SEL_TSS_TRAP08] = (SELM_GDT_ELEMENTS - 0x5) << 3;
    149149
    150     if (HMIsRawModeCtxNeeded(pVM))
     150    if (VM_IS_RAW_MODE_ENABLED(pVM) || HMIsRawModeCtxNeeded(pVM))
    151151    {
    152152        /*
     
    310310     * Register info handlers.
    311311     */
    312     if (HMIsRawModeCtxNeeded(pVM))
     312    if (VM_IS_RAW_MODE_ENABLED(pVM) || HMIsRawModeCtxNeeded(pVM))
    313313    {
    314314        DBGFR3InfoRegisterInternal(pVM, "gdt",      "Displays the shadow GDT. No arguments.",   &selmR3InfoGdt);
     
    349349# endif
    350350    AssertLogRelRCReturn(rc, rc);
    351     if (f && HMIsRawModeCtxNeeded(pVM))
     351    if (f && (VM_IS_RAW_MODE_ENABLED(pVM) || HMIsRawModeCtxNeeded(pVM)))
    352352    {
    353353        PX86DESC paGdt = pVM->selm.s.paGdtR3;
     
    483483    LogFlow(("SELMR3Relocate\n"));
    484484
    485     if (HMIsRawModeCtxNeeded(pVM))
     485    if (VM_IS_RAW_MODE_ENABLED(pVM) || HMIsRawModeCtxNeeded(pVM))
    486486    {
    487487        for (VMCPUID i = 0; i < pVM->cCpus; i++)
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