Changeset 14244 in vbox for trunk/include
- Timestamp:
- Nov 17, 2008 10:31:26 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39385
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vm.h
r13960 r14244 98 98 RTNATIVETHREAD hNativeThread; 99 99 100 /** Align the next bit on a 64-byte boundary. */ 100 /** Align the next bit on a 64-byte boundary. 101 * 102 * @remarks The aligments of the members that are larger than 48 bytes should be 103 * 64-byte for cache line reasons. structs containing small amounts of 104 * data could be lumped together at the end with a < 64 byte padding 105 * following it (to grow into and align the struct size). 106 * */ 101 107 uint32_t au32Alignment[HC_ARCH_BITS == 32 ? 9 : 6]; 102 108 … … 107 113 struct CPUMCPU s; 108 114 #endif 109 char padding[2048]; /* multiple of 32*/115 char padding[2048]; /* multiple of 64 */ 110 116 } cpum; 111 117 /** VMM part. */ … … 115 121 struct VMMCPU s; 116 122 #endif 117 char padding[ 32]; /* multiple of 32*/123 char padding[64]; /* multiple of 64 */ 118 124 } vmm; 119 125 … … 124 130 struct PGMCPU s; 125 131 #endif 126 char padding[ 32]; /* multiple of 32*/132 char padding[192]; /* multiple of 64 */ 127 133 } pgm; 128 134 … … 133 139 struct HWACCMCPU s; 134 140 #endif 135 char padding[1024]; /* multiple of 32*/141 char padding[1024]; /* multiple of 64 */ 136 142 } hwaccm; 137 143 … … 142 148 struct EMCPU s; 143 149 #endif 144 char padding[ 32]; /* multiple of 32*/150 char padding[64]; /* multiple of 64 */ 145 151 } em; 146 152 … … 151 157 struct TMCPU s; 152 158 #endif 153 char padding[ 32]; /* multiple of 32*/159 char padding[64]; /* multiple of 64 */ 154 160 } tm; 155 161 } VMCPU;
Note:
See TracChangeset
for help on using the changeset viewer.