VirtualBox

Changeset 29458 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 14, 2010 10:16:06 AM (15 years ago)
Author:
vboxsync
Message:

Backed out 61583

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

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

    r29457 r29458  
    158158#include <VBox/param.h>
    159159#include <VBox/err.h>
    160 #include <VBox/vm.h>
    161160#include <iprt/asm.h>
    162161#include <iprt/avl.h>
     
    39753974 * @returns VBox status code.
    39763975 * @param   pVM                 VM handle
    3977  * @param   pVCpu               VMCPU handle
    3978  */
    3979 GMMR0DECL(int) GMMR0CheckSharedModules(PVM pVM, PVMCPU pVCpu)
     3976 * @param   idCpu               VCPU id
     3977 */
     3978GMMR0DECL(int) GMMR0CheckSharedModules(PVM pVM, VMCPUID idCpu)
    39803979{
    39813980#ifdef VBOX_WITH_PAGE_SHARING
     
    39863985    GMM_GET_VALID_INSTANCE(pGMM, VERR_INTERNAL_ERROR);
    39873986    PGVM pGVM;
    3988     int rc = GVMMR0ByVMAndEMT(pVM, pVCpu->idCpu, &pGVM);
     3987    int rc = GVMMR0ByVMAndEMT(pVM, idCpu, &pGVM);
    39893988    if (RT_FAILURE(rc))
    39903989        return rc;
     
    40014000        Log(("GMMR0CheckSharedModules\n"));
    40024001        Info.pGVM = pGVM;
    4003         Info.idCpu = pVCpu->idCpu;
     4002        Info.idCpu = idCpu;
    40044003
    40054004        RTAvlGCPtrDoWithAll(&pGVM->gmm.s.pSharedModuleTree, true /* fFromLeft */, gmmR0CheckSharedModule, &Info);
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r29457 r29458  
    969969            ASMAtomicWriteU32(&pVCpu->idHostCpu, RTMpCpuId());
    970970
    971             int rc = vmmR0CallRing3SetJmp(&pVCpu->vmm.s.CallRing3JmpBufR0, GMMR0CheckSharedModules, pVM, pVCpu); /* this may resume code. */
     971            int rc = GMMR0CheckSharedModules(pVM, idCpu);
    972972
    973973            /* Clear the VCPU context. */
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