Changeset 21982 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Aug 5, 2009 11:21:49 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50714
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r21979 r21982 1402 1402 DECLCALLBACK(int) hwaccmR3RemovePatches(PVM pVM, PVMCPU pVCpu, void *pvUser) 1403 1403 { 1404 VMCPUID idCpu = (VMCPUID) pvUser;1404 VMCPUID idCpu = (VMCPUID)(uintptr_t)pvUser; 1405 1405 1406 1406 /* Only execute the handler on the VCPU the original patch request was issued. */ … … 1579 1579 DECLCALLBACK(int) hwaccmR3ReplaceTprInstr(PVM pVM, PVMCPU pVCpu, void *pvUser) 1580 1580 { 1581 VMCPUID idCpu = (VMCPUID) pvUser;1581 VMCPUID idCpu = (VMCPUID)(uintptr_t)pvUser; 1582 1582 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu); 1583 1583 RTGCPTR oldrip = pCtx->rip; … … 1716 1716 DECLCALLBACK(int) hwaccmR3PatchTprInstr(PVM pVM, PVMCPU pVCpu, void *pvUser) 1717 1717 { 1718 VMCPUID idCpu = (VMCPUID) pvUser;1718 VMCPUID idCpu = (VMCPUID)(uintptr_t)pvUser; 1719 1719 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu); 1720 1720 PDISCPUSTATE pDis = &pVCpu->hwaccm.s.DisState;
Note:
See TracChangeset
for help on using the changeset viewer.