VirtualBox

Ignore:
Timestamp:
Oct 18, 2022 10:18:45 AM (2 years ago)
Author:
vboxsync
Message:

VMM/EM: Drop the PVM and PCCPUMCTXCORE arguments from EMInterpretDisasCurrent and EMInterpretDisasOneEx.

File:
1 edited

Legend:

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

    r97178 r97193  
    74147414        {
    74157415            PDISCPUSTATE pDis = &pVCpu->hmr0.s.svm.DisState;
    7416             int rc = EMInterpretDisasCurrent(pVCpu->CTX_SUFF(pVM), pVCpu, pDis, &cbInstr);
     7416            int rc = EMInterpretDisasCurrent(pVCpu, pDis, &cbInstr);
    74177417            if (   rc == VINF_SUCCESS
    74187418                && pDis->pCurInstr->uOpcode == OP_WRMSR)
     
    81158115        {
    81168116            PDISCPUSTATE pDis = &pVCpu->hmr0.s.svm.DisState;
    8117             int rc = EMInterpretDisasCurrent(pVCpu->CTX_SUFF(pVM), pVCpu, pDis, &cbInstr);
     8117            int rc = EMInterpretDisasCurrent(pVCpu, pDis, &cbInstr);
    81188118            if (   rc == VINF_SUCCESS
    81198119                && pDis->pCurInstr->uOpcode == OP_VMMCALL)
     
    81598159    {
    81608160        PDISCPUSTATE pDis = &pVCpu->hmr0.s.svm.DisState;
    8161         int rc = EMInterpretDisasCurrent(pVCpu->CTX_SUFF(pVM), pVCpu, pDis, &cbInstr);
     8161        int rc = EMInterpretDisasCurrent(pVCpu, pDis, &cbInstr);
    81628162        if (   rc == VINF_SUCCESS
    81638163            && pDis->pCurInstr->uOpcode == OP_PAUSE)
     
    85128512    if (!(pCtx->cr0 & X86_CR0_NE))
    85138513    {
    8514         PVMCC     pVM  = pVCpu->CTX_SUFF(pVM);
    85158514        PDISSTATE pDis = &pVCpu->hmr0.s.svm.DisState;
    85168515        unsigned  cbInstr;
    8517         int rc = EMInterpretDisasCurrent(pVM, pVCpu, pDis, &cbInstr);
     8516        int rc = EMInterpretDisasCurrent(pVCpu, pDis, &cbInstr);
    85188517        if (RT_SUCCESS(rc))
    85198518        {
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