VirtualBox

Changeset 46378 in vbox for trunk/include


Ignore:
Timestamp:
Jun 4, 2013 12:11:23 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86197
Message:

VMM/HM: Recognize more VT-x misc. MSR features as per the spec.

File:
1 edited

Legend:

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

    r46267 r46378  
    781781/** Relationship between the preemption timer and tsc; count down every time bit x of the tsc changes. */
    782782#define MSR_IA32_VMX_MISC_PREEMPT_TSC_BIT(a)                    ((a) & 0x1f)
     783/** Whether VM-exit stores EFER.LMA into the "IA32e mode guest" field. */
     784#define MSR_IA32_VMX_MISC_STORE_EFERLMA_VMEXIT(a)               (((a) >> 5) & 1)
    783785/** Activity states supported by the implementation. */
    784786#define MSR_IA32_VMX_MISC_ACTIVITY_STATES(a)                    (((a) >> 6) & 0x7)
     
    787789/** Maximum nr of MSRs in the VMCS. (N+1)*512. */
    788790#define MSR_IA32_VMX_MISC_MAX_MSR(a)                            (((((a) >> 25) & 0x7) + 1) * 512)
     791/** Whether RDMSR can be used to read IA32_SMBASE_MSR in SMM. */
     792#define MSR_IA32_VMX_MISC_RDMSR_SMBASE_MSR_SMM(a)               (((a) >> 15) & 1)
     793/** Whether bit 2 of IA32_SMM_MONITOR_CTL can be set to 1. */
     794#define MSR_IA32_VMX_MISC_SMM_MONITOR_CTL_B2(a)                 (((a) >> 28) & 1)
     795/** Whether VMWRITE can be used to write VM-exit information fields. */
     796#define MSR_IA32_VMX_MISC_VMWRITE_VMEXIT_INFO(a)                (((a) >> 29) & 1)
    789797/** MSEG revision identifier used by the processor. */
    790798#define MSR_IA32_VMX_MISC_MSEG_ID(a)                            ((a) >> 32)
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