VirtualBox

Changeset 13873

Show
Ignore:
Timestamp:
11/05/08 16:05:58 (2 months ago)
Author:
vboxsync
Message:

Updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/hwaccm.h

    r13872 r13873  
    124124 */ 
    125125VMMR0DECL(int)   HWACCMR0SetupVM(PVM pVM); 
    126 VMMR0DECL(int)   HWACCMR0RunGuestCode(PVM pVM, RTCPUID idVCpu); 
     126VMMR0DECL(int)   HWACCMR0RunGuestCode(PVM pVM, uintptr_t idVCpu); 
    127127VMMR0DECL(int)   HWACCMR0Enter(PVM pVM, RTCPUID idVCpu); 
    128128VMMR0DECL(int)   HWACCMR0Leave(PVM pVM, RTCPUID idVCpu); 
  • trunk/src/VBox/VMM/VMMInternal.h

    r13872 r13873  
    450450 * @param   pVM     The VM handle. 
    451451 */ 
    452 typedef DECLCALLBACK(int) FNVMMR0SETJMP(PVM pVM, uint32_t idCpu); 
     452typedef DECLCALLBACK(int) FNVMMR0SETJMP(PVM pVM, uintptr_t idCpu); 
    453453/** Pointer to FNVMMR0SETJMP(). */ 
    454454typedef FNVMMR0SETJMP *PFNVMMR0SETJMP; 
     
    466466 * @param   pVM         The argument of that function. 
    467467 */ 
    468 DECLASM(int)    vmmR0CallHostSetJmp(PVMMR0JMPBUF pJmpBuf, PFNVMMR0SETJMP pfn, PVM pVM, uint32_t idCpu); 
     468DECLASM(int)    vmmR0CallHostSetJmp(PVMMR0JMPBUF pJmpBuf, PFNVMMR0SETJMP pfn, PVM pVM, uintptr_t idCpu); 
    469469 
    470470/** 
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r13872 r13873  
    965965 * @param   idVCpu      VMCPUD id. 
    966966 */ 
    967 VMMR0DECL(int) HWACCMR0RunGuestCode(PVM pVM, RTCPUID idVCpu) 
     967VMMR0DECL(int) HWACCMR0RunGuestCode(PVM pVM, uintptr_t idVCpu) 
    968968{ 
    969969    CPUMCTX *pCtx; 
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r13872 r13873  
    527527 * Loads the guest state 
    528528 * 
     529 * NOTE: Don't do anything here that can cause a jump back to ring 3!!!!! 
     530 * 
    529531 * @returns VBox status code. 
    530532 * @param   pVM         The VM to operate on. 
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r13872 r13873  
    633633            if (!HWACCMR0SuspendPending()) 
    634634            { 
    635                 rc = HWACCMR0Enter(pVM, idCPU); 
     635                rc = HWACCMR0Enter(pVM, idCpu); 
    636636                if (RT_SUCCESS(rc)) 
    637637                { 
    638                     rc = vmmR0CallHostSetJmp(&pVM->vmm.s.CallHostR0JmpBuf, HWACCMR0RunGuestCode, pVM, idCPU); /* this may resume code. */ 
    639                     int rc2 = HWACCMR0Leave(pVM, idCPU); 
     638                    rc = vmmR0CallHostSetJmp(&pVM->vmm.s.CallHostR0JmpBuf, HWACCMR0RunGuestCode, pVM, idCpu); /* this may resume code. */ 
     639                    int rc2 = HWACCMR0Leave(pVM, idCpu); 
    640640                    AssertRC(rc2); 
    641641                } 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy