Changeset 1284 in vbox
- Timestamp:
- Mar 7, 2007 2:21:14 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19237
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUMInternal.h
r1283 r1284 76 76 /** @} */ 77 77 78 /* Sanity check. */ 79 #if defined(VBOX_WITH_HYBIRD_32BIT_KERNEL) && (HC_ARCH_BITS != 32 || R0_ARCH_BITS != 32) 80 # error "VBOX_WITH_HYBIRD_32BIT_KERNEL is only for 32 bit builds." 81 #endif 82 78 83 79 84 /** 80 85 * The save host CPU state. 81 * 82 * @remark The special VBOX_WITH_HYBIRD_32BIT_KERNEL checks here are for the 10.4.x series 86 * 87 * @remark The special VBOX_WITH_HYBIRD_32BIT_KERNEL checks here are for the 10.4.x series 83 88 * of Mac OS X where the OS is essentially 32-bit but the cpu mode can be 64-bit. 84 89 */ … … 112 117 //uint64_t rip; - scratch 113 118 uint64_t rflags; 114 #endif 119 #endif 115 120 116 121 #if HC_ARCH_BITS == 32 … … 231 236 uint8_t auPadding[16]; 232 237 # else 233 uint8_t auPadding[ 24];238 uint8_t auPadding[8]; 234 239 # endif 235 240 236 241 #else 237 242 # error HC_ARCH_BITS not defined 238 #endif 243 #endif 239 244 } CPUMHOSTCTX, *PCPUMHOSTCTX; 240 245 -
trunk/src/VBox/VMM/CPUMInternal.mac
r1283 r1284 41 41 %define FPUSTATE_SIZE 512 42 42 43 ;; if anyone figures how to do %if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBIRD_32BIT_KERNEL) in 43 ;; if anyone figures how to do %if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBIRD_32BIT_KERNEL) in 44 44 ; nasm please tell / fix this hack. 45 45 %ifdef VBOX_WITH_HYBIRD_32BIT_KERNEL … … 166 166 %endif ; 64-bit 167 167 168 ; padding169 ;.Host.padding resd 0170 171 168 172 169 ; … … 174 171 ; (Identical to .Host.*) 175 172 ; 176 alignb 32 173 alignb 32 ; the padding 177 174 .Hyper.fpu resb 512 178 175 -
trunk/src/VBox/VMM/testcase/Makefile
r1279 r1284 244 244 # alias for the two struct tests. 245 245 run-struct-tests: $(PATH_TARGET)/tstAsmStructs.run $(PATH_TARGET)/tstVMStructSize.run 246 run-asm-tests: $(PATH_TARGET)/tstAsmStructs.run 247 $(ECHO) $< 248 246
Note:
See TracChangeset
for help on using the changeset viewer.