vbox的更動 57446 路徑 trunk/src/VBox/VMM/include/CPUMInternal.h
- 時間撮記:
- 2015-8-18 下午05:33:53 (9 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/include/CPUMInternal.h
r55466 r57446 111 111 #define CPUM_USE_SUPPORTS_LONGMODE RT_BIT(20) 112 112 /** @} */ 113 114 /* Sanity check. */115 #ifndef VBOX_FOR_DTRACE_LIB116 #if defined(VBOX_WITH_HYBRID_32BIT_KERNEL) && (HC_ARCH_BITS != 32 || R0_ARCH_BITS != 32)117 # error "VBOX_WITH_HYBRID_32BIT_KERNEL is only for 32 bit builds."118 #endif119 #endif120 113 121 114 … … 202 195 /** 203 196 * The saved host CPU state. 204 *205 * @remark The special VBOX_WITH_HYBRID_32BIT_KERNEL checks here are for the 10.4.x series206 * of Mac OS X where the OS is essentially 32-bit but the cpu mode can be 64-bit.207 197 */ 208 198 typedef struct CPUMHOSTCTX … … 210 200 /** General purpose register, selectors, flags and more 211 201 * @{ */ 212 #if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)202 #if HC_ARCH_BITS == 64 213 203 /** General purpose register ++ 214 204 * { */ … … 264 254 /** @} */ 265 255 266 #if HC_ARCH_BITS == 32 && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)256 #if HC_ARCH_BITS == 32 267 257 /** Control registers. 268 258 * @{ */ … … 309 299 uint8_t auPadding[20]; 310 300 311 #elif HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)301 #elif HC_ARCH_BITS == 64 312 302 313 303 /** Control registers. … … 352 342 353 343 /* padding to get 32byte aligned size */ 354 # ifdef VBOX_WITH_HYBRID_32BIT_KERNEL355 uint8_t auPadding[52];356 # else357 344 uint8_t auPadding[4]; 358 # endif359 345 360 346 #else 361 # error HC_ARCH_BITS not defined 347 # error HC_ARCH_BITS not defined or unsupported 362 348 #endif 363 349 … … 558 544 DECLASM(void) cpumR0SetMXCSR(uint32_t u32MXCSR); 559 545 DECLASM(uint32_t) cpumR0GetMXCSR(void); 560 DECLASM(void) cpumR0LoadDRx(uint64_t const *pa4Regs);561 DECLASM(void) cpumR0SaveDRx(uint64_t *pa4Regs);562 546 #endif 563 547
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器