VirtualBox

Ignore:
Timestamp:
Jul 8, 2018 4:15:47 PM (6 years ago)
Author:
vboxsync
Message:

VMM/HM, HMVMX: 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/HMR0.cpp

    r72967 r72983  
    165165     *  actions when the host is being suspended to speed up the suspending and
    166166     *  avoid trouble. */
    167     volatile bool                   fSuspended;
     167    bool volatile                   fSuspended;
    168168
    169169    /** Whether we've already initialized all CPUs.
     
    19611961 *
    19621962 * @param   pVCpu       The cross context virtual CPU structure.
    1963  * @param   pCtx        Pointer to the CPU context.
    1964  */
    1965 VMMR0_INT_DECL(void) hmR0DumpRegs(PVMCPU pVCpu, PCPUMCTX pCtx)
     1963 */
     1964VMMR0_INT_DECL(void) hmR0DumpRegs(PVMCPU pVCpu)
    19661965{
    19671966    /*
     
    19911990    char szEFlags[80];
    19921991    char *psz = szEFlags;
     1992    PCCPUMCTX pCtx = &pVCpu->cpum.GstCtx;
    19931993    uint32_t uEFlags = pCtx->eflags.u32;
    19941994    for (unsigned i = 0; i < RT_ELEMENTS(s_aFlags); 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