Changeset 13858 in vbox for trunk/src/VBox/HostDrivers/Support/win
- Timestamp:
- Nov 5, 2008 1:45:41 PM (16 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r13529 r13858 326 326 KIRQL oldIrql; 327 327 KeRaiseIrql(DISPATCH_LEVEL, &oldIrql); 328 int rc = supdrvIOCtlFast(ulCmd, pDevExt, pSession);328 int rc = supdrvIOCtlFast(ulCmd, (unsigned)pIrp->UserBuffer /* VMCPU id */, pDevExt, pSession); 329 329 KeLowerIrql(oldIrql); 330 330 -
trunk/src/VBox/HostDrivers/Support/win/SUPDrvA-win.asm
r13536 r13858 193 193 194 194 ;; 195 ; @cproto DECLASM(int) supdrvNtWrapVMMR0EntryFast(PFNRT pfnVMMR0EntryFast, PVM pVM, unsigned uOperation);195 ; @cproto DECLASM(int) supdrvNtWrapVMMR0EntryFast(PFNRT pfnVMMR0EntryFast, PVM pVM, unsigned idCPU, unsigned uOperation); 196 196 ; 197 197 ; @param pfnVMMR0EntryFast rcx 198 198 ; @param pVM rdx 199 ; @param uOperation r8 199 ; @param idCPU r8 200 ; @param uOperation r9 200 201 ; 201 202 BEGINPROC supdrvNtWrapVMMR0EntryFast … … 206 207 mov rcx, rdx 207 208 mov rdx, r8 209 mov r8, r9 208 210 call rax 209 211 -
trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp
r13835 r13858 504 504 505 505 506 int suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction )506 int suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, unsigned idCpu) 507 507 { 508 508 /* … … 510 510 */ 511 511 DWORD cbReturned = 0; 512 if (DeviceIoControl((HANDLE)pThis->hDevice, uFunction, NULL, 0, NULL, 0, &cbReturned, NULL))512 if (DeviceIoControl((HANDLE)pThis->hDevice, uFunction, NULL, 0, (LPVOID)idCpu, 0, &cbReturned, NULL)) 513 513 return VINF_SUCCESS; 514 514 return suplibConvertWin32Err(GetLastError());
Note:
See TracChangeset
for help on using the changeset viewer.