Changeset 19957 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- May 24, 2009 2:47:43 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47659
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r19892 r19957 164 164 VBoxDrv_DEFS = IN_RT_R0 IN_SUP_R0 SUPDRV_WITH_RELEASE_LOGGER 165 165 VBoxDrv_DEFS.amd64 = RT_WITH_W64_UNWIND_HACK 166 ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION 167 VBoxDrv_DEFS += VBOX_WITH_VMMR0_DISABLE_PREEMPTION 168 endif 166 169 VBoxDrv_SDKS = W2K3DDK WINPSDKINCS 167 170 VBoxDrv_INCS := $(PATH_SUB_CURRENT) -
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.