VirtualBox

Changeset 107854 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Jan 18, 2025 11:59:26 PM (6 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167053
Message:

x86.h,VMM: More AMD CPUID bits; addressed some old todos related to these; fixed bugs in svn & vmx world switcher (sanity checks, ++). jiraref:VBP-947 bugref:10738

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpum.h

    r107749 r107854  
    466466    /** Supports IA32_PRED_CMD.IBPB. */
    467467    uint32_t        fIbpb : 1;
     468    /** Supports the IA32_SPEC_CTRL MSR (summary of the next). */
     469    uint32_t        fSpecCtrlMsr : 1;
    468470    /** Supports IA32_SPEC_CTRL.IBRS. */
    469471    uint32_t        fIbrs : 1;
     
    640642
    641643    /** Alignment padding / reserved for future use. */
    642     uint32_t        fPadding0 : 18;
     644    uint32_t        fPadding0 : 17;
    643645    uint32_t        auPadding[3];
    644646
  • trunk/include/VBox/vmm/cpum.mac

    r106061 r107854  
    265265
    266266
     267%define CPUMCTX_MAX_MTRRVAR_COUNT   16
     268
    267269;;
    268270; Guest MSR state.
    269271struc CPUMCTXMSRS
    270     .au64               resq  64
     272    .msr.TscAux                         resq 1
     273    .msr.MiscEnable                     resq 1
     274    .msr.MtrrDefType                    resq 1
     275    .msr.MtrrFix64K_00000               resq 1
     276    .msr.MtrrFix16K_80000               resq 1
     277    .msr.MtrrFix16K_A0000               resq 1
     278    .msr.MtrrFix4K_C0000                resq 1
     279    .msr.MtrrFix4K_C8000                resq 1
     280    .msr.MtrrFix4K_D0000                resq 1
     281    .msr.MtrrFix4K_D8000                resq 1
     282    .msr.MtrrFix4K_E0000                resq 1
     283    .msr.MtrrFix4K_E8000                resq 1
     284    .msr.MtrrFix4K_F0000                resq 1
     285    .msr.MtrrFix4K_F8000                resq 1
     286    .msr.PkgCStateCfgCtrl               resq 1
     287    .msr.SpecCtrl                       resq 1
     288    .msr.ArchCaps                       resq 1
     289    .msr.MtrrCap                        resq 1
     290    .msr.aMtrrVarMsrs                   resq CPUMCTX_MAX_MTRRVAR_COUNT
     291    alignb 512
    271292endstruc
    272293
Note: See TracChangeset for help on using the changeset viewer.

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