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