Changeset 19671 in vbox
- Timestamp:
- May 13, 2009 6:28:58 PM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c
r19592 r19671 44 44 #include <sys/conf.h> 45 45 #include <sys/uio.h> 46 #include <sys/proc.h>47 #include <sys/sched.h>48 46 49 47 #include "../SUPDrvInternal.h" … … 396 394 || ulCmd == SUP_IOCTL_FAST_DO_HWACC_RUN 397 395 || 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); 406 397 407 398 return VBoxDrvFreeBSDIOCtlSlow(pSession, ulCmd, pvData, pTd); -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r19592 r19671 619 619 STAM_COUNTER_INC(&pVM->vmm.s.StatRunRC); 620 620 621 #if !defined(RT_OS_WINDOWS) && !defined(RT_OS_FREEBSD)/** @todo check other hosts */621 #if !defined(RT_OS_WINDOWS) /** @todo check other hosts */ 622 622 RTCCUINTREG uFlags = ASMIntDisableFlags(); 623 623 #endif … … 642 642 643 643 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 */ 645 645 ASMSetFlags(uFlags); 646 646 #endif
Note:
See TracChangeset
for help on using the changeset viewer.