VirtualBox

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

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

File:
1 edited

Legend:

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

    r72966 r72967  
    1016210162 * @returns Strict VBox status code (i.e. informational status codes too).
    1016310163 * @param   pVCpu       The cross context virtual CPU structure.
    10164  * @param   pCtx        Pointer to the guest-CPU context.
    10165  */
    10166 VMMR0DECL(VBOXSTRICTRC) VMXR0RunGuestCode(PVMCPU pVCpu, PCPUMCTX pCtx)
    10167 {
     10164 */
     10165VMMR0DECL(VBOXSTRICTRC) VMXR0RunGuestCode(PVMCPU pVCpu)
     10166{
     10167    PCPUMCTX pCtx = &pVCpu->cpum.GstCtx;
    1016810168    Assert(VMMRZCallRing3IsEnabled(pVCpu));
    1016910169    Assert(!ASMAtomicUoReadU64(&pCtx->fExtrn));
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