VirtualBox

Changeset 18927 in vbox for trunk/src/VBox/VMM/PATM/VMMAll


Ignore:
Timestamp:
Apr 16, 2009 11:41:38 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
46003
Message:

Big step to separate VMM data structures for guest SMP. (pgm, em)

File:
1 edited

Legend:

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

    r13832 r18927  
    3434#include "PATMInternal.h"
    3535#include <VBox/vm.h>
     36#include <VBox/vmm.h>
    3637#include "PATMA.h"
    3738
     
    190191        if (CTXSUFF(pVM->patm.s.pGCState)->GCPtrInhibitInterrupts == (RTRCPTR)pCtxCore->eip)
    191192        {
    192             EMSetInhibitInterruptsPC(pVM, pCtxCore->eip);
     193            EMSetInhibitInterruptsPC(pVM, VMMGetCpu0(pVM), pCtxCore->eip);
    193194        }
    194195        CTXSUFF(pVM->patm.s.pGCState)->GCPtrInhibitInterrupts = 0;
     
    298299VMMDECL(bool) PATMAreInterruptsEnabled(PVM pVM)
    299300{
    300     PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVM);
     301    PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(VMMGetCpu0(pVM));
    301302
    302303    return PATMAreInterruptsEnabledByCtxCore(pVM, CPUMCTX2CORE(pCtx));
     
    382383VMMDECL(int) PATMSysCall(PVM pVM, PCPUMCTXCORE pRegFrame, PDISCPUSTATE pCpu)
    383384{
    384     PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVM);
     385    PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(VMMGetCpu0(pVM));
    385386
    386387    if (pCpu->pCurInstr->opcode == OP_SYSENTER)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette