Changeset 13931 for trunk/include/iprt/assert.h
- Timestamp:
- 11/06/08 19:51:48 (2 months ago)
- Files:
-
- trunk/include/iprt/assert.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/iprt/assert.h
r13314 r13931 2039 2039 #define AssertGCPhys32(GCPhys) AssertMsg(VALID_PHYS32(GCPhys), ("%RGp\n", (RTGCPHYS)(GCPhys))) 2040 2040 2041 /** @def AssertGCPtr32 2042 * Asserts that the high dword of a physical address is zero 2043 * 2044 * @param GCPtr The address (RTGCPTR). 2045 */ 2046 #if GC_ARCH_BITS == 32 2047 # define AssertGCPtr32(GCPtr) do { } while (0) 2048 #else 2049 # define AssertGCPtr32(GCPtr) AssertMsg(!((GCPtr) & UINT64_C(0xffffffff00000000)), ("%RGv\n", GCPtr)) 2050 #endif 2051 2041 2052 /** @} */ 2042 2053

