- Timestamp:
- Apr 16, 2009 11:48:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUMInternal.h
r16113 r18929 259 259 typedef struct CPUM 260 260 { 261 /**262 * Hypervisor context.263 * Aligned on a 64-byte boundrary.264 */265 CPUMCTX Hyper;266 267 /** Pointer to the current hypervisor core context - R3Ptr. */268 R3PTRTYPE(PCPUMCTXCORE) pHyperCoreR3;269 /** Pointer to the current hypervisor core context - R0Ptr. */270 R0PTRTYPE(PCPUMCTXCORE) pHyperCoreR0;271 /** Pointer to the current hypervisor core context - RCPtr. */272 RCPTRTYPE(PCPUMCTXCORE) pHyperCoreRC;273 274 261 /* Offset from CPUM to CPUMCPU for the first CPU. */ 275 262 uint32_t ulOffCPUMCPU; 276 263 277 /** Hidden selector registers state.278 * Valid (hw accelerated raw mode) or not (normal raw mode)279 */ 280 uint32_t f ValidHiddenSelRegs;264 /** Use flags. 265 * These flags indicates which CPU features the host uses. 266 */ 267 uint32_t fHostUseFlags; 281 268 282 269 /** Host CPU Features - ECX */ … … 321 308 322 309 /** Align the next member, and thereby the structure, on a 64-byte boundrary. */ 323 uint8_t abPadding2[HC_ARCH_BITS == 32 ? 60 : 48];310 uint8_t abPadding2[HC_ARCH_BITS == 32 ? 8 : 4]; 324 311 325 312 /** … … 338 325 { 339 326 /** 327 * Hypervisor context. 328 * Aligned on a 64-byte boundrary. 329 */ 330 CPUMCTX Hyper; 331 332 /** 340 333 * Saved host context. Only valid while inside GC. 341 334 * Aligned on a 64-byte boundrary. … … 359 352 */ 360 353 CPUMCTXMSR GuestMsr; 354 355 /** Pointer to the current hypervisor core context - R3Ptr. */ 356 R3PTRTYPE(PCPUMCTXCORE) pHyperCoreR3; 357 /** Pointer to the current hypervisor core context - R0Ptr. */ 358 R0PTRTYPE(PCPUMCTXCORE) pHyperCoreR0; 359 /** Pointer to the current hypervisor core context - RCPtr. */ 360 RCPTRTYPE(PCPUMCTXCORE) pHyperCoreRC; 361 361 362 362 /** Use flags. … … 378 378 uint32_t u32RetCode; 379 379 380 /* Round to 16 byte size. 381 uint32_t uPadding; 382 */ 380 /** Align the next member, and thereby the structure, on a 64-byte boundrary. */ 381 uint8_t abPadding2[HC_ARCH_BITS == 32 ? 36 : 28]; 383 382 } CPUMCPU, *PCPUMCPU; 384 383 /** Pointer to the CPUMCPU instance data residing in the shared VMCPU structure. */
Note:
See TracChangeset
for help on using the changeset viewer.