Changeset 4960 in vbox
- Timestamp:
- Sep 21, 2007 2:58:57 PM (17 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r4941 r4960 280 280 || ulCmd == SUP_IOCTL_FAST_DO_NOP) 281 281 { 282 int rc = supdrvIOCtlFast(ulCmd, pDevExt, pSession); 282 KIRQL oldIrql; 283 int rc; 284 285 /* Raise the IRQL to DISPATCH_LEVEl to prevent Windows from rescheduling us to another CPU/core. */ 286 Assert(KeGetCurrentIrql() <= DISPATCH_LEVEL); 287 KeRaiseIrql(DISPATCH_LEVEL, &oldIrql); 288 rc = supdrvIOCtlFast(ulCmd, pDevExt, pSession); 289 KeLowerIrql(oldIrql); 283 290 284 291 /* Complete the I/O request. */ -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r4954 r4960 550 550 * @param pVM The VM to operate on. 551 551 * @param enmOperation Which operation to execute. 552 * @remarks Assume called with interrupts disabled.552 * @remarks Assume called with interrupts _enabled_. 553 553 */ 554 554 VMMR0DECL(int) VMMR0EntryFast(PVM pVM, VMMR0OPERATION enmOperation) … … 594 594 STAM_COUNTER_INC(&pVM->vmm.s.StatRunGC); 595 595 596 #ifndef RT_OS_WINDOWS /* @todo check other hosts */ 597 /* We must disable interrupts here */ 598 RTCCUINTREG uFlags = ASMIntDisableFlags(); 599 #endif 596 600 int rc = HWACCMR0Enable(pVM); 597 601 if (VBOX_SUCCESS(rc)) … … 608 612 } 609 613 pVM->vmm.s.iLastGCRc = rc; 614 #ifndef RT_OS_WINDOWS /* @todo check other hosts */ 615 ASMSetFlags(uFlags); 616 #endif 610 617 611 618 #ifdef VBOX_WITH_STATISTICS
Note:
See TracChangeset
for help on using the changeset viewer.