- Timestamp:
- Mar 22, 2023 8:50:27 AM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r98103 r99106 6819 6819 6820 6820 # else 6821 int32_t offBitmap = iBit / 32; 6822 AssertStmt(!((uintptr_t)pvBitmap & 3), offBitmap += (uintptr_t)pvBitmap & 3; iBit += ((uintptr_t)pvBitmap & 3) * 8); 6823 rc.u32 = RT_LE2H_U32(ASMAtomicUoReadU32(&((uint32_t volatile *)pvBitmap)[offBitmap])) >> (iBit & 31); 6821 int32_t offBitmap = iBit >> 3; 6822 rc.u32 = ASMAtomicUoReadU8(&((uint8_t volatile *)pvBitmap)[offBitmap]) >> (iBit & 7); 6824 6823 rc.u32 &= 1; 6825 6824 # endif
Note:
See TracChangeset
for help on using the changeset viewer.