Changeset 40149 in vbox for trunk/src/VBox/Runtime/r0drv/solaris
- Timestamp:
- Feb 16, 2012 2:07:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/spinlock-r0drv-solaris.c
r39460 r40149 127 127 mutex_enter(&pThis->Mtx); 128 128 129 /* 130 * Solaris 10 doesn't preserve the interrupt flag, but since we're at PIL_MAX we should be 131 * fine and not get interrupts while lock is held. Re-disable interrupts to not upset 132 * assertions & assumptions callers might have. 133 */ 134 #if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) 135 ASMIntDisable(); 136 #endif 137 129 138 #if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) 130 139 Assert(!ASMIntAreEnabled());
Note:
See TracChangeset
for help on using the changeset viewer.