Changeset 25160 in vbox for trunk/src/VBox/Runtime/r0drv/nt
- Timestamp:
- Dec 3, 2009 11:06:03 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 55588
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/spinlock-r0drv-nt.cpp
r8245 r25160 105 105 { 106 106 PRTSPINLOCKINTERNAL pSpinlockInt = (PRTSPINLOCKINTERNAL)Spinlock; 107 Assert (pSpinlockInt && pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC);107 AssertMsg(pSpinlockInt && pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC, ("magic=%#x\n", pSpinlockInt->u32Magic)); 108 108 109 109 KeAcquireSpinLock(&pSpinlockInt->Spinlock, &pTmp->uchIrqL); … … 116 116 { 117 117 PRTSPINLOCKINTERNAL pSpinlockInt = (PRTSPINLOCKINTERNAL)Spinlock; 118 Assert (pSpinlockInt && pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC);118 AssertMsg(pSpinlockInt && pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC, ("magic=%#x\n", pSpinlockInt->u32Magic)); 119 119 120 120 ASMSetFlags(pTmp->uFlags); … … 126 126 { 127 127 PRTSPINLOCKINTERNAL pSpinlockInt = (PRTSPINLOCKINTERNAL)Spinlock; 128 Assert (pSpinlockInt && pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC);128 AssertMsg(pSpinlockInt && pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC, ("magic=%#x\n", pSpinlockInt->u32Magic)); 129 129 130 130 KeAcquireSpinLock(&pSpinlockInt->Spinlock, &pTmp->uchIrqL); … … 135 135 { 136 136 PRTSPINLOCKINTERNAL pSpinlockInt = (PRTSPINLOCKINTERNAL)Spinlock; 137 Assert (pSpinlockInt && pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC);137 AssertMsg(pSpinlockInt && pSpinlockInt->u32Magic == RTSPINLOCK_MAGIC, ("magic=%#x\n", pSpinlockInt->u32Magic)); 138 138 139 139 KeReleaseSpinLock(&pSpinlockInt->Spinlock, pTmp->uchIrqL); 140 140 } 141
Note:
See TracChangeset
for help on using the changeset viewer.