VirtualBox

Ignore:
Timestamp:
Jul 8, 2018 10:43:02 AM (6 years ago)
Author:
vboxsync
Message:

VMM/HMSVM: ​bugref:9193 Stop passing pCtx around and use pVCpu->cpum.GstCtx instead where possible. [build fix]

File:
1 edited

Legend:

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

    r72967 r72968  
    44094409static int hmR0SvmPreRunGuest(PVMCPU pVCpu, PSVMTRANSIENT pSvmTransient)
    44104410{
    4411     PCPUMCTX pCtx = &pVCpu->cpum.GstCtx;
    44124411    HMSVM_ASSERT_PREEMPT_SAFE(pVCpu);
    4413     HMSVM_ASSERT_NOT_IN_NESTED_GUEST(pCtx);
     4412    HMSVM_ASSERT_NOT_IN_NESTED_GUEST(&pVCpu->cpum.GstCtx);
    44144413
    44154414    /* Check force flag actions that might require us to go back to ring-3. */
     
    44344433
    44354434#ifdef HMSVM_SYNC_FULL_GUEST_STATE
    4436     Assert(!(pCtx->fExtrn & HMSVM_CPUMCTX_EXTRN_ALL));
     4435    Assert(!(pVCpu->cpum.GstCtx->fExtrn & HMSVM_CPUMCTX_EXTRN_ALL));
    44374436    ASMAtomicUoOrU64(&pVCpu->hm.s.fCtxChanged, HM_CHANGED_ALL_GUEST);
    44384437#endif
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