Changeset 32055 in vbox for trunk/include/VBox
- Timestamp:
- Aug 27, 2010 3:25:54 PM (14 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vm.h
r32046 r32055 107 107 * Only valid when in RC or HWACCMR0 with scheduling disabled. */ 108 108 RTCPUID volatile idHostCpu; 109 /** State data for use by ad hoc profiling. */ 110 uint32_t uAdHoc; 111 /** Profiling samples for use by ad hoc profiling. */ 112 STAMPROFILEADV aStatAdHoc[8]; 113 114 #if HC_ARCH_BITS == 32 109 115 110 /** Align the next bit on a 64-byte boundary and make sure it starts at the same 116 111 * offset in both 64-bit and 32-bit builds. … … 121 116 * following it (to grow into and align the struct size). 122 117 * */ 123 uint8_t abAlignment1[HC_ARCH_BITS == 32 ? 20 : 0]; 124 #endif 118 uint8_t abAlignment1[HC_ARCH_BITS == 32 ? 24 : 4]; 125 119 126 120 /** CPUM part. */ … … 207 201 208 202 /** Align the following members on page boundrary. */ 209 uint8_t abAlignment2[ 256];203 uint8_t abAlignment2[576]; 210 204 211 205 /** PGM part. */ … … 474 468 * Checks if a force action flag is set for the given VCPU. 475 469 * 476 * @param pVCpu VMCPU Handle.470 * @param pVCpu VMCPU Handle. 477 471 * @param fFlag The flag to check. 478 472 */ 479 #define VMCPU_FF_ISSET(pVCpu, fFlag) 473 #define VMCPU_FF_ISSET(pVCpu, fFlag) (((pVCpu)->fLocalForcedActions & (fFlag)) == (fFlag)) 480 474 481 475 /** @def VM_FF_ISPENDING -
trunk/include/VBox/vm.mac
r32046 r32055 123 123 .hNativeThreadR0 RTR0PTR_RES 1 124 124 .idHostCpu resd 1 125 .uAdHoc resd 1126 .aStatAdHoc resb STAMPROFILEADV_size * 8127 125 128 126 alignb 64
Note:
See TracChangeset
for help on using the changeset viewer.