Changeset 9212 in vbox for trunk/src/VBox/Runtime/common/misc
- Timestamp:
- May 29, 2008 9:38:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/sanity.h
r8245 r9212 46 46 # error "defined(IN_RING0) && ARCH_BITS != R0_ARCH_BITS" 47 47 #endif 48 #if defined(IN_GC) && ARCH_BITS != GC_ARCH_BITS49 # error "defined(IN_GC) && ARCH_BITS != GC_ARCH_BITS"48 #if defined(IN_GC) && ARCH_BITS != 32 49 # error "defined(IN_GC) && ARCH_BITS != 32" 50 50 #endif 51 51 #if (defined(IN_RING0) || defined(IN_RING3)) && HC_ARCH_BITS != ARCH_BITS 52 52 # error "(defined(IN_RING0) || defined(IN_RING3)) && HC_ARCH_BITS != ARCH_BITS" 53 53 #endif 54 #if defined(IN_GC) && GC_ARCH_BITS != ARCH_BITS54 #if defined(IN_GC) && GC_ARCH_BITS != 64 && GC_ARCH_BITS != ARCH_BITS 55 55 # error "defined(IN_GC) && GC_ARCH_BITS != ARCH_BITS" 56 56 #endif … … 124 124 #if GC_ARCH_BITS == 64 125 125 126 AssertCompileSize(RTGCINT, 4);127 AssertCompileSize(RTGCUINT, 4);126 AssertCompileSize(RTGCINT, 8); 127 AssertCompileSize(RTGCUINT, 8); 128 128 AssertCompileSize(RTGCINTPTR, 8); 129 129 AssertCompileSize(RTGCUINTPTR, 8); … … 133 133 # ifdef IN_GC 134 134 /*AssertCompileSize(RTCCINTREG, 8);*/ 135 AssertCompileSize(RTCCUINTREG, 8); 135 /* Hack alert: there is no such thing as a GC context when GC_ARCH_BITS == 64; it's still 32 bits */ 136 AssertCompileSize(RTCCUINTREG, 4); 136 137 # endif 137 138
Note:
See TracChangeset
for help on using the changeset viewer.