Changeset 82814 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Jan 22, 2020 3:38:46 AM (5 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r82573 r82814 133 133 /** VMX VMWRITE all feature exposed to the guest but not supported on host. */ 134 134 #define VMX_UFC_GST_HOST_VMWRITE_ALL 15 135 /** LBR stack size cannot be determined for the current CPU. */ 136 #define VMX_UFC_LBR_STACK_SIZE_UNKNOWN 16 137 /** LBR stack size of the CPU exceeds our buffer size. */ 138 #define VMX_UFC_LBR_STACK_SIZE_OVERFLOW 17 135 139 /** @} */ 136 140 … … 1200 1204 /** Pointer to a const VMXMSRS struct. */ 1201 1205 typedef const VMXMSRS *PCVMXMSRS; 1206 1207 1208 /** 1209 * LBR MSRs. 1210 */ 1211 typedef struct LBRMSRS 1212 { 1213 /** List of LastBranch-From-IP MSRs. */ 1214 uint64_t au64BranchFromIpMsr[32]; 1215 /** List of LastBranch-To-IP MSRs. */ 1216 uint64_t au64BranchToIpMsr[32]; 1217 /** The MSR containing the index to the most recent branch record. */ 1218 uint64_t uBranchTosMsr; 1219 } LBRMSRS; 1220 AssertCompileSizeAlignment(LBRMSRS, 8); 1221 AssertCompile(sizeof(LBRMSRS) < X86_PAGE_4K_SIZE); 1222 /** Pointer to a VMXMSRS struct. */ 1223 typedef LBRMSRS *PLBRMSRS; 1224 /** Pointer to a const VMXMSRS struct. */ 1225 typedef const LBRMSRS *PCLBRMSRS; 1202 1226 1203 1227 -
trunk/include/VBox/vmm/vm.h
r81786 r82814 1279 1279 struct HM s; 1280 1280 #endif 1281 uint8_t padding[5 440]; /* multiple of 64 */1281 uint8_t padding[5504]; /* multiple of 64 */ 1282 1282 } hm; 1283 1283 … … 1436 1436 1437 1437 /** Padding for aligning the structure size on a page boundrary. */ 1438 uint8_t abAlignment2[664 + 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];1438 uint8_t abAlignment2[664 - 64 + 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT]; 1439 1439 1440 1440 /* ---- end small stuff ---- */ -
trunk/include/VBox/vmm/vm.mac
r81624 r82814 122 122 .vmm resb 1600 123 123 .pgm resb 21120 124 .hm resb 5 440124 .hm resb 5504 125 125 .trpm resb 5248 126 126 .selm resb 768 … … 138 138 .cfgm resb 8 139 139 140 .abAlignment2 resb 664 + 256 - RTR0PTR_CB * VMM_MAX_CPU_COUNT140 .abAlignment2 resb 664 - 64 + 256 - RTR0PTR_CB * VMM_MAX_CPU_COUNT 141 141 142 142 alignb RTR0PTR_CB * VMM_MAX_CPU_COUNT ; ASSUMES VMM_MAX_CPU_COUNT is a power of two.
Note:
See TracChangeset
for help on using the changeset viewer.