Changeset 94931 in vbox for trunk/src/VBox/VMM/include/CPUMInternal.h
- Timestamp:
- May 9, 2022 8:24:47 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151339
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/CPUMInternal.h
r94901 r94931 152 152 153 153 154 /** @name XSAVE limits. 155 * @{ */ 156 /** Max size we accept for the XSAVE area. 157 * @see CPUMCTX::abXSave */ 158 #define CPUM_MAX_XSAVE_AREA_SIZE (0x4000 - 0x300) 159 /* Min size we accept for the XSAVE area. */ 160 #define CPUM_MIN_XSAVE_AREA_SIZE 0x240 161 /** @} */ 162 163 154 164 /** 155 165 * CPU info … … 500 510 PCPUMCPUIDLEAF cpumCpuIdGetLeaf(PVM pVM, uint32_t uLeaf); 501 511 PCPUMCPUIDLEAF cpumCpuIdGetLeafEx(PVM pVM, uint32_t uLeaf, uint32_t uSubLeaf, bool *pfExactSubLeafHit); 512 PCPUMCPUIDLEAF cpumCpuIdGetLeafInt(PCPUMCPUIDLEAF paLeaves, uint32_t cLeaves, uint32_t uLeaf, uint32_t uSubLeaf); 513 PCPUMCPUIDLEAF cpumCpuIdEnsureSpace(PVM pVM, PCPUMCPUIDLEAF *ppaLeaves, uint32_t cLeaves); 514 # ifdef VBOX_STRICT 515 void cpumCpuIdAssertOrder(PCPUMCPUIDLEAF paLeaves, uint32_t cLeaves); 516 # endif 517 int cpumCpuIdExplodeFeaturesX86(PCCPUMCPUIDLEAF paLeaves, uint32_t cLeaves, PCCPUMMSRS pMsrs, 518 PCPUMFEATURES pFeatures); 502 519 503 520 # ifdef IN_RING3 504 521 int cpumR3DbgInit(PVM pVM); 505 int cpumR3CpuIdExplodeFeatures(PCCPUMCPUIDLEAF paLeaves, uint32_t cLeaves, PCCPUMMSRS pMsrs, PCPUMFEATURES pFeatures);506 522 int cpumR3InitCpuIdAndMsrs(PVM pVM, PCCPUMMSRS pHostMsrs); 507 523 void cpumR3InitVmxGuestFeaturesAndMsrs(PVM pVM, PCVMXMSRS pHostVmxMsrs, PVMXMSRS pGuestVmxMsrs);
Note:
See TracChangeset
for help on using the changeset viewer.