VirtualBox

Changeset 19240 in vbox for trunk/src/VBox/VMM/PATM


Ignore:
Timestamp:
Apr 28, 2009 1:38:23 PM (16 years ago)
Author:
vboxsync
Message:

SMP guest fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATM.cpp

    r19141 r19240  
    352352
    353353    /* Needed for future patching of sldt/sgdt/sidt/str etc. */
    354     pVM->patm.s.pCPUMCtxGC = VM_RC_ADDR(pVM, CPUMQueryGuestCtxPtr(VMMGetCpu0(pVM)));
     354    pVM->patm.s.pCPUMCtxGC = VM_RC_ADDR(pVM, CPUMQueryGuestCtxPtr(VMMGetCpu(pVM)));
    355355
    356356    Assert(pVM->patm.s.PatchLookupTreeHC);
     
    432432        RTAvloU32DoWithAll(&pVM->patm.s.PatchLookupTreeHC->PatchTree, true, RelocatePatches, (void *)pVM);
    433433
    434         pCtx = CPUMQueryGuestCtxPtr(VMMGetCpu0(pVM));
     434        pCtx = CPUMQueryGuestCtxPtr(VMMGetCpu(pVM));
    435435
    436436        /* If we are running patch code right now, then also adjust EIP. */
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