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/linux
Files:
3 edited

Legend:

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

    r52581 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
     
    412412RT_EXPORT_SYMBOL(RTMpPokeCpu);
    413413
     414
     415RTDECL(bool) RTMpOnAllIsConcurrentSafe(void)
     416{
     417    return true;
     418}
     419RT_EXPORT_SYMBOL(RTMpOnAllIsConcurrentSafe);
     420
  • trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c

    r50811 r52618  
    55
    66/*
    7  * Copyright (C) 2006-2013 Oracle Corporation
     7 * Copyright (C) 2006-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    178178RT_EXPORT_SYMBOL(RTSpinlockRelease);
    179179
    180 
    181 RTDECL(void) RTSpinlockReleaseNoInts(RTSPINLOCK Spinlock)
    182 {
    183 #if 1
    184     if (RT_UNLIKELY(!(Spinlock->fFlags & RTSPINLOCK_FLAGS_INTERRUPT_SAFE)))
    185         RTAssertMsg2("RTSpinlockReleaseNoInts: %p (magic=%#x)\n", Spinlock, Spinlock->u32Magic);
    186 #else
    187     AssertRelease(Spinlock->fFlags & RTSPINLOCK_FLAGS_INTERRUPT_SAFE);
    188 #endif
    189     RTSpinlockRelease(Spinlock);
    190 }
    191 RT_EXPORT_SYMBOL(RTSpinlockReleaseNoInts);
    192 
  • trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c

    r44528 r52618  
    14411441
    14421442        if (pTimer->cCpus > 1)
    1443             RTSpinlockReleaseNoInts(pTimer->hSpinlock);
     1443            RTSpinlockRelease(pTimer->hSpinlock);
    14441444    }
    14451445
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