VirtualBox

Ignore:
Timestamp:
Sep 5, 2014 12:07:29 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95899
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/solaris
Files:
2 edited

Legend:

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

    r44529 r52618  
    55
    66/*
    7  * Copyright (C) 2008-2012 Oracle Corporation
     7 * Copyright (C) 2008-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    345345}
    346346
     347
     348RTDECL(bool) RTMpOnAllIsConcurrentSafe(void)
     349{
     350    return true;
     351}
     352
  • trunk/src/VBox/Runtime/r0drv/solaris/spinlock-r0drv-solaris.c

    r44528 r52618  
    55
    66/*
    7  * Copyright (C) 2006-2012 Oracle Corporation
     7 * Copyright (C) 2006-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    203203}
    204204
    205 
    206 RTDECL(void) RTSpinlockReleaseNoInts(RTSPINLOCK Spinlock)
    207 {
    208 #if 1
    209     if (RT_UNLIKELY(!(Spinlock->fFlags & RTSPINLOCK_FLAGS_INTERRUPT_SAFE)))
    210         RTAssertMsg2("RTSpinlockReleaseNoInts: %p (magic=%#x)\n", Spinlock, Spinlock->u32Magic);
    211 #else
    212     AssertRelease(Spinlock->fFlags & RTSPINLOCK_FLAGS_INTERRUPT_SAFE);
    213 #endif
    214     RTSpinlockRelease(Spinlock);
    215 }
    216 
Note: See TracChangeset for help on using the changeset viewer.

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