VirtualBox

Ignore:
Timestamp:
Sep 5, 2014 12:07:29 PM (10 years ago)
Author:
vboxsync
Message:

HostDrivers, Runtime, Devices, Additions: TSC delta measurement and other changes resulting from bumping supdrv major version. TSC delta measurement currently disabled.

Location:
trunk/src/VBox/Runtime/r0drv/freebsd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c

    r49718 r52618  
    55
    66/*
    7  * Copyright (C) 2008-2011 Oracle Corporation
     7 * Copyright (C) 2008-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    289289#endif /* < 7.0 */
    290290
     291
     292RTDECL(bool) RTMpOnAllIsConcurrentSafe(void)
     293{
     294    return true;
     295}
     296
  • trunk/src/VBox/Runtime/r0drv/freebsd/spinlock-r0drv-freebsd.c

    r42496 r52618  
    208208}
    209209
    210 
    211 RTDECL(void) RTSpinlockReleaseNoInts(RTSPINLOCK Spinlock)
    212 {
    213 #if 1
    214     if (RT_UNLIKELY(!(Spinlock->fFlags & RTSPINLOCK_FLAGS_INTERRUPT_SAFE)))
    215         RTAssertMsg2("RTSpinlockReleaseNoInts: %p (magic=%#x)\n", Spinlock, Spinlock->u32Magic);
    216 #else
    217     AssertRelease(Spinlock->fFlags & RTSPINLOCK_FLAGS_INTERRUPT_SAFE);
    218 #endif
    219     RTSpinlockRelease(Spinlock);
    220 }
    221 
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