VirtualBox

Changeset 81153 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Oct 8, 2019 1:59:03 PM (5 years ago)
Author:
vboxsync
Message:

VMM: Removed most VBOX_WITH_REM preprocessor stuff. bugref:9576

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r81150 r81153  
    61676167    if (ASMAtomicUoReadU64(&pVCpu->hm.s.fCtxChanged) & HM_CHANGED_GUEST_SREG_MASK)
    61686168    {
    6169 #ifdef VBOX_WITH_REM
    6170         if (!pVM->hm.s.vmx.fUnrestrictedGuest)
    6171         {
    6172             Assert(!pVmxTransient->fIsNestedGuest);
    6173             Assert(pVM->hm.s.vmx.pRealModeTSS);
    6174             AssertCompile(PGMMODE_REAL < PGMMODE_PROTECTED);
    6175             if (   pVmcsInfo->fWasInRealMode
    6176                 && PGMGetGuestMode(pVCpu) >= PGMMODE_PROTECTED)
    6177             {
    6178                 /*
    6179                  * Notify the recompiler must flush its code-cache as the guest -may-
    6180                  * rewrite code it in real-mode (e.g. OpenBSD 4.0).
    6181                  */
    6182                 REMFlushTBs(pVM);
    6183                 Log4Func(("Switch to protected mode detected!\n"));
    6184                 pVmcsInfo->fWasInRealMode = false;
    6185             }
    6186         }
    6187 #endif
    61886169        if (ASMAtomicUoReadU64(&pVCpu->hm.s.fCtxChanged) & HM_CHANGED_GUEST_CS)
    61896170        {
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r81031 r81153  
    741741                           | VM_FF_DBGF                       | VM_FF_REQUEST                 | VM_FF_CHECK_VM_STATE
    742742                           | VM_FF_RESET                      | VM_FF_EMT_RENDEZVOUS          | VM_FF_PGM_NEED_HANDY_PAGES
    743                            | VM_FF_PGM_NO_MEMORY              | VM_FF_REM_HANDLER_NOTIFY      | VM_FF_DEBUG_SUSPEND;
     743                           | VM_FF_PGM_NO_MEMORY              | VM_FF_DEBUG_SUSPEND;
    744744    uint64_t const fCpuFFs = VMCPU_FF_TIMER                   | VMCPU_FF_PDM_CRITSECT         | VMCPU_FF_IEM
    745745                           | VMCPU_FF_REQUEST                 | VMCPU_FF_DBGF                 | VMCPU_FF_HM_UPDATE_CR3
     
    12281228                    STAM_COUNTER_INC(&pVM->vmm.s.StatRZCallPGMAllocHandy);
    12291229                    break;
    1230                 case VMMCALLRING3_REM_REPLAY_HANDLER_NOTIFICATIONS:
    1231                     STAM_COUNTER_INC(&pVM->vmm.s.StatRZCallRemReplay);
    1232                     break;
    12331230                case VMMCALLRING3_VMM_LOGGER_FLUSH:
    12341231                    STAM_COUNTER_INC(&pVM->vmm.s.StatRZCallLogFlush);
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