Changeset 45927 in vbox for trunk/src/VBox/Runtime/r0drv/nt
- Timestamp:
- May 7, 2013 8:05:43 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85565
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/spinlock-r0drv-nt.cpp
r40817 r45927 75 75 KIRQL volatile SavedIrql; 76 76 /** The saved interrupt flag. */ 77 uint32_t volatilefIntSaved;77 RTCCUINTREG volatile fIntSaved; 78 78 /** The spinlock creation flags. */ 79 79 uint32_t fFlags; … … 141 141 { 142 142 #ifndef RTSPINLOCK_NT_HACK_NOIRQ 143 uint32_tfIntSaved = ASMGetFlags();143 RTCCUINTREG fIntSaved = ASMGetFlags(); 144 144 ASMIntDisable(); 145 145 KeAcquireSpinLock(&pThis->Spinlock, &SavedIrql); … … 151 151 Assert(SavedIrql < DISPATCH_LEVEL); 152 152 } 153 uint32_tfIntSaved = ASMGetFlags();153 RTCCUINTREG fIntSaved = ASMGetFlags(); 154 154 ASMIntDisable(); 155 155 … … 177 177 if (pThis->fFlags & RTSPINLOCK_FLAGS_INTERRUPT_SAFE) 178 178 { 179 uint32_tfIntSaved = pThis->fIntSaved;179 RTCCUINTREG fIntSaved = pThis->fIntSaved; 180 180 pThis->fIntSaved = 0; 181 181
Note:
See TracChangeset
for help on using the changeset viewer.