VirtualBox

Changeset 19671 in vbox


Ignore:
Timestamp:
May 13, 2009 6:28:58 PM (16 years ago)
Author:
vboxsync
Message:

Support,VMMR0: enable disabling of interrupts again and remove disabling preemption

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c

    r19592 r19671  
    4444#include <sys/conf.h>
    4545#include <sys/uio.h>
    46 #include <sys/proc.h>
    47 #include <sys/sched.h>
    4846
    4947#include "../SUPDrvInternal.h"
     
    396394        ||  ulCmd == SUP_IOCTL_FAST_DO_HWACC_RUN
    397395        ||  ulCmd == SUP_IOCTL_FAST_DO_NOP)
    398     {
    399         sched_pin();
    400         critical_enter();
    401         int rc = supdrvIOCtlFast(ulCmd, *(uint32_t *)pvData, &g_VBoxDrvFreeBSDDevExt, pSession);
    402         critical_exit();
    403         sched_unpin();
    404         return rc;
    405     }
     396        return supdrvIOCtlFast(ulCmd, *(uint32_t *)pvData, &g_VBoxDrvFreeBSDDevExt, pSession);
    406397
    407398    return VBoxDrvFreeBSDIOCtlSlow(pSession, ulCmd, pvData, pTd);
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r19592 r19671  
    619619            STAM_COUNTER_INC(&pVM->vmm.s.StatRunRC);
    620620
    621 #if !defined(RT_OS_WINDOWS) && !defined(RT_OS_FREEBSD) /** @todo check other hosts */
     621#if !defined(RT_OS_WINDOWS) /** @todo check other hosts */
    622622            RTCCUINTREG uFlags = ASMIntDisableFlags();
    623623#endif
     
    642642
    643643            ASMAtomicWriteU32(&pVCpu->idHostCpu, NIL_RTCPUID);
    644 #if !defined(RT_OS_WINDOWS) && !defined(RT_OS_FREEBSD) /** @todo check other hosts */
     644#if !defined(RT_OS_WINDOWS) /** @todo check other hosts */
    645645            ASMSetFlags(uFlags);
    646646#endif
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