Changeset 18927 in vbox for trunk/src/VBox/VMM/PATM/VMMAll
- Timestamp:
- Apr 16, 2009 11:41:38 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46003
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/VMMAll/PATMAll.cpp
r13832 r18927 34 34 #include "PATMInternal.h" 35 35 #include <VBox/vm.h> 36 #include <VBox/vmm.h> 36 37 #include "PATMA.h" 37 38 … … 190 191 if (CTXSUFF(pVM->patm.s.pGCState)->GCPtrInhibitInterrupts == (RTRCPTR)pCtxCore->eip) 191 192 { 192 EMSetInhibitInterruptsPC(pVM, pCtxCore->eip);193 EMSetInhibitInterruptsPC(pVM, VMMGetCpu0(pVM), pCtxCore->eip); 193 194 } 194 195 CTXSUFF(pVM->patm.s.pGCState)->GCPtrInhibitInterrupts = 0; … … 298 299 VMMDECL(bool) PATMAreInterruptsEnabled(PVM pVM) 299 300 { 300 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr( pVM);301 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(VMMGetCpu0(pVM)); 301 302 302 303 return PATMAreInterruptsEnabledByCtxCore(pVM, CPUMCTX2CORE(pCtx)); … … 382 383 VMMDECL(int) PATMSysCall(PVM pVM, PCPUMCTXCORE pRegFrame, PDISCPUSTATE pCpu) 383 384 { 384 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr( pVM);385 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(VMMGetCpu0(pVM)); 385 386 386 387 if (pCpu->pCurInstr->opcode == OP_SYSENTER)
Note:
See TracChangeset
for help on using the changeset viewer.