VirtualBox

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


Ignore:
Timestamp:
Jan 29, 2021 6:17:10 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142510
Message:

VMM/HMVMX: Moving more stuff to HMR0PERVCPU. bugref:9217

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

Legend:

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

    r87487 r87488  
    776776 * @param   enmGuestMode    New guest paging mode.
    777777 */
    778 VMM_INT_DECL(void) HMHCChangedPagingMode(PVM pVM, PVMCPU pVCpu, PGMMODE enmShadowMode, PGMMODE enmGuestMode)
     778VMM_INT_DECL(void) HMHCChangedPagingMode(PVM pVM, PVMCPUCC pVCpu, PGMMODE enmShadowMode, PGMMODE enmGuestMode)
    779779{
    780780#ifdef IN_RING3
  • trunk/src/VBox/VMM/VMMAll/HMVMXAll.cpp

    r87472 r87488  
    11031103 * @remarks This function may be called with preemption or interrupts disabled!
    11041104 */
    1105 VMM_INT_DECL(PVMXVMCSINFOSHARED) hmGetVmxActiveVmcsInfoShared(PVMCPU pVCpu)
     1105VMM_INT_DECL(PVMXVMCSINFOSHARED) hmGetVmxActiveVmcsInfoShared(PVMCPUCC pVCpu)
    11061106{
    1107     if (!pVCpu->hm.s.vmx.fSwitchedToNstGstVmcs)
     1107#ifdef IN_RING0
     1108    if (!pVCpu->hmr0.s.vmx.fSwitchedToNstGstVmcs)
     1109#else
     1110    if (!pVCpu->hm.s.vmx.fSwitchedToNstGstVmcsShadow)
     1111#endif
    11081112        return &pVCpu->hm.s.vmx.VmcsInfo;
    11091113    return &pVCpu->hm.s.vmx.VmcsInfoNstGst;
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