VirtualBox

Changeset 21982 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 5, 2009 11:21:49 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50714
Message:

Compile fix

File:
1 edited

Legend:

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

    r21979 r21982  
    14021402DECLCALLBACK(int) hwaccmR3RemovePatches(PVM pVM, PVMCPU pVCpu, void *pvUser)
    14031403{
    1404     VMCPUID idCpu = (VMCPUID)pvUser;
     1404    VMCPUID idCpu = (VMCPUID)(uintptr_t)pvUser;
    14051405
    14061406    /* Only execute the handler on the VCPU the original patch request was issued. */
     
    15791579DECLCALLBACK(int) hwaccmR3ReplaceTprInstr(PVM pVM, PVMCPU pVCpu, void *pvUser)
    15801580{
    1581     VMCPUID      idCpu  = (VMCPUID)pvUser;
     1581    VMCPUID      idCpu  = (VMCPUID)(uintptr_t)pvUser;
    15821582    PCPUMCTX     pCtx   = CPUMQueryGuestCtxPtr(pVCpu);
    15831583    RTGCPTR      oldrip = pCtx->rip;
     
    17161716DECLCALLBACK(int) hwaccmR3PatchTprInstr(PVM pVM, PVMCPU pVCpu, void *pvUser)
    17171717{
    1718     VMCPUID      idCpu  = (VMCPUID)pvUser;
     1718    VMCPUID      idCpu  = (VMCPUID)(uintptr_t)pvUser;
    17191719    PCPUMCTX     pCtx   = CPUMQueryGuestCtxPtr(pVCpu);
    17201720    PDISCPUSTATE pDis   = &pVCpu->hwaccm.s.DisState;
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