VirtualBox

Ignore:
Timestamp:
Sep 20, 2007 8:27:28 AM (17 years ago)
Author:
vboxsync
Message:

Raise irql to DISPATCH_LEVEl (should already be at that level though) instead of turning off interrupts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r4831 r4911  
    599599        else
    600600        {
    601             RTCCUINTREG xFL = ASMGetFlags();
    602             ASMIntDisable();
     601            KIRQL oldIrql;
     602
     603            Assert(KeGetCurrentIrql() <= DISPATCH_LEVEL);
     604            KeRaiseIrql(DISPATCH_LEVEL, &oldIrql);
    603605
    604606            /*
     
    620622            supdrvGipUpdate(pGip, supdrvOSMonotime());
    621623
    622             ASMSetFlags(xFL);
     624            KeLowerIrql(oldIrql);
    623625        }
    624626    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette