VirtualBox

Changeset 54561 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Feb 27, 2015 4:59:02 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98696
Message:

Moved all the CPUID related code from CPUM.cpp to CPUMR3CpuId.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/CPUMInternal.h

    r53630 r54561  
    118118#endif
    119119#endif
     120
     121
     122/** @name CPUM Saved State Version.
     123 * @{ */
     124/** The current saved state version. */
     125#define CPUM_SAVED_STATE_VERSION                14
     126/** The current saved state version before using SSMR3PutStruct. */
     127#define CPUM_SAVED_STATE_VERSION_MEM            13
     128/** The saved state version before introducing the MSR size field. */
     129#define CPUM_SAVED_STATE_VERSION_NO_MSR_SIZE    12
     130/** The saved state version of 3.2, 3.1 and 3.3 trunk before the hidden
     131 * selector register change (CPUM_CHANGED_HIDDEN_SEL_REGS_INVALID). */
     132#define CPUM_SAVED_STATE_VERSION_VER3_2         11
     133/** The saved state version of 3.0 and 3.1 trunk before the teleportation
     134 * changes. */
     135#define CPUM_SAVED_STATE_VERSION_VER3_0         10
     136/** The saved state version for the 2.1 trunk before the MSR changes. */
     137#define CPUM_SAVED_STATE_VERSION_VER2_1_NOMSR   9
     138/** The saved state version of 2.0, used for backwards compatibility. */
     139#define CPUM_SAVED_STATE_VERSION_VER2_0         8
     140/** The saved state version of 1.6, used for backwards compatibility. */
     141#define CPUM_SAVED_STATE_VERSION_VER1_6         6
     142/** @} */
     143
    120144
    121145
     
    587611void                cpumR3CpuIdRemoveRange(PCPUMCPUIDLEAF paLeaves, uint32_t *pcLeaves, uint32_t uFirst, uint32_t uLast);
    588612int                 cpumR3CpuIdExplodeFeatures(PCCPUMCPUIDLEAF paLeaves, uint32_t cLeaves, PCPUMFEATURES pFeatures);
     613int                 cpumR3CpuIdInit(PVM pVM);
     614void                cpumR3SaveCpuId(PVM pVM, PSSMHANDLE pSSM);
     615int                 cpumR3LoadCpuId(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion);
     616
    589617int                 cpumR3DbGetCpuInfo(const char *pszName, PCPUMINFO pInfo);
    590618int                 cpumR3MsrRangesInsert(PVM pVM, PCPUMMSRRANGE *ppaMsrRanges, uint32_t *pcMsrRanges, PCCPUMMSRRANGE pNewRange);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette