VirtualBox

Changeset 48132 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Aug 28, 2013 5:27:43 PM (11 years ago)
Author:
vboxsync
Message:

VMM: Ditch VBOX_WITH_VMMR0_DISABLE_PREEMPTION.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r46045 r48132  
    275275 ifdef VBOX_WITHOUT_NATIVE_R0_LOADER
    276276  VBoxDrv_DEFS.win       += VBOX_WITHOUT_NATIVE_R0_LOADER
    277  endif
    278  ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION
    279   VBoxDrv_DEFS.win       += VBOX_WITH_VMMR0_DISABLE_PREEMPTION
    280277 endif
    281278
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r47541 r48132  
    452452        && pSession->fUnrestricted == true)
    453453    {
    454 #ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION
    455454        int rc = supdrvIOCtlFast(ulCmd, (unsigned)(uintptr_t)pIrp->UserBuffer /* VMCPU id */, pDevExt, pSession);
    456 #else
     455
     456#if 0   /* When preemption was not used i.e. !VBOX_WITH_VMMR0_DISABLE_PREEMPTION. That's no longer required. */
    457457        /* Raise the IRQL to DISPATCH_LEVEL to prevent Windows from rescheduling us to another CPU/core. */
    458458        Assert(KeGetCurrentIrql() <= DISPATCH_LEVEL);
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