VirtualBox

Ignore:
Timestamp:
Jan 28, 2021 4:33:07 PM (4 years ago)
Author:
vboxsync
Message:

VMM/HM,gvm: Started splitting up the HVMCPU and HVM structures. Created assembly version of gvm.h. bugref:9217

File:
1 edited

Legend:

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

    r87387 r87466  
    735735                        | (pVCpu->cpum.GstCtx.fWorldSwitcher & CPUMCTX_WSF_IBPB_EXIT  ? 4 : 0);
    736736    PFNHMSVMVMRUN const pfnVMRun = s_aHmR0SvmVmRunFunctions[idx].pfn;
    737     if (pVCpu->hm.s.svm.pfnVMRun != pfnVMRun)
    738         pVCpu->hm.s.svm.pfnVMRun = pfnVMRun;
     737    if (pVCpu->hmr0.s.svm.pfnVMRun != pfnVMRun)
     738        pVCpu->hmr0.s.svm.pfnVMRun = pfnVMRun;
    739739}
    740740
     
    746746{
    747747    hmR0SvmUpdateVmRunFunction(pVCpu);
    748     return pVCpu->hm.s.svm.pfnVMRun(pVM, pVCpu, HCPhysVMCB);
     748    return pVCpu->hmr0.s.svm.pfnVMRun(pVM, pVCpu, HCPhysVMCB);
    749749}
    750750
     
    791791         * We now use a single handler for both 32-bit and 64-bit guests, see @bugref{6208#c73}.
    792792         */
    793         pVCpu->hm.s.svm.pfnVMRun = hmR0SvmVMRunSelector;
     793        pVCpu->hmr0.s.svm.pfnVMRun = hmR0SvmVMRunSelector;
    794794
    795795        /*
     
    43194319    /* Mark that HM is the keeper of all guest-CPU registers now that we're going to execute guest code. */
    43204320    pVCpu->cpum.GstCtx.fExtrn |= HMSVM_CPUMCTX_EXTRN_ALL | CPUMCTX_EXTRN_KEEPER_HM;
    4321     return pVCpu->hm.s.svm.pfnVMRun(pVCpu->CTX_SUFF(pVM), pVCpu, HCPhysVmcb);
     4321    return pVCpu->hmr0.s.svm.pfnVMRun(pVCpu->CTX_SUFF(pVM), pVCpu, HCPhysVmcb);
    43224322}
    43234323
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