Changeset 19957 in vbox for trunk/src/VBox/HostDrivers/Support/win
- Timestamp:
- May 24, 2009 2:47:43 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47659
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r18478 r19957 322 322 || ulCmd == SUP_IOCTL_FAST_DO_NOP) 323 323 { 324 /* Raise the IRQL to DISPATCH_LEVEl to prevent Windows from rescheduling us to another CPU/core. */ 324 #ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION 325 int rc = supdrvIOCtlFast(ulCmd, (unsigned)(uintptr_t)pIrp->UserBuffer /* VMCPU id */, pDevExt, pSession); 326 #else 327 /* Raise the IRQL to DISPATCH_LEVEL to prevent Windows from rescheduling us to another CPU/core. */ 325 328 Assert(KeGetCurrentIrql() <= DISPATCH_LEVEL); 326 329 KIRQL oldIrql; … … 328 331 int rc = supdrvIOCtlFast(ulCmd, (unsigned)(uintptr_t)pIrp->UserBuffer /* VMCPU id */, pDevExt, pSession); 329 332 KeLowerIrql(oldIrql); 333 #endif 330 334 331 335 /* Complete the I/O request. */
Note:
See TracChangeset
for help on using the changeset viewer.