VirtualBox

Changeset 41173 in vbox for trunk/include


Ignore:
Timestamp:
May 4, 2012 3:45:28 PM (13 years ago)
Author:
vboxsync
Message:

VMM: Fixed reading the wrong (reserved) bit in EPT capabilities, renamed capability defines to better suit the Intel Spec.

File:
1 edited

Legend:

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

    r40559 r41173  
    636636 * @{
    637637 */
    638 #define MSR_IA32_VMX_EPT_CAPS_RWX_X_ONLY                     RT_BIT_64(0)
    639 #define MSR_IA32_VMX_EPT_CAPS_RWX_W_ONLY                     RT_BIT_64(1)
    640 #define MSR_IA32_VMX_EPT_CAPS_RWX_WX_ONLY                    RT_BIT_64(2)
    641 #define MSR_IA32_VMX_EPT_CAPS_GAW_21_BITS                    RT_BIT_64(3)
    642 #define MSR_IA32_VMX_EPT_CAPS_GAW_30_BITS                    RT_BIT_64(4)
    643 #define MSR_IA32_VMX_EPT_CAPS_GAW_39_BITS                    RT_BIT_64(5)
    644 #define MSR_IA32_VMX_EPT_CAPS_GAW_48_BITS                    RT_BIT_64(6)
    645 #define MSR_IA32_VMX_EPT_CAPS_GAW_57_BITS                    RT_BIT_64(7)
    646 #define MSR_IA32_VMX_EPT_CAPS_EMT_UC                         RT_BIT_64(8)
    647 #define MSR_IA32_VMX_EPT_CAPS_EMT_WC                         RT_BIT_64(9)
    648 #define MSR_IA32_VMX_EPT_CAPS_EMT_WT                         RT_BIT_64(12)
    649 #define MSR_IA32_VMX_EPT_CAPS_EMT_WP                         RT_BIT_64(13)
    650 #define MSR_IA32_VMX_EPT_CAPS_EMT_WB                         RT_BIT_64(14)
    651 #define MSR_IA32_VMX_EPT_CAPS_SP_21_BITS                     RT_BIT_64(16)
    652 #define MSR_IA32_VMX_EPT_CAPS_SP_30_BITS                     RT_BIT_64(17)
    653 #define MSR_IA32_VMX_EPT_CAPS_SP_39_BITS                     RT_BIT_64(18)
    654 #define MSR_IA32_VMX_EPT_CAPS_SP_48_BITS                     RT_BIT_64(19)
    655 #define MSR_IA32_VMX_EPT_CAPS_INVEPT                         RT_BIT_64(20)
    656 #define MSR_IA32_VMX_EPT_CAPS_INVEPT_CAPS_INDIV              RT_BIT_64(24)
    657 #define MSR_IA32_VMX_EPT_CAPS_INVEPT_CAPS_CONTEXT            RT_BIT_64(25)
    658 #define MSR_IA32_VMX_EPT_CAPS_INVEPT_CAPS_ALL                RT_BIT_64(26)
    659 #define MSR_IA32_VMX_EPT_CAPS_INVVPID                        RT_BIT_64(32)
    660 #define MSR_IA32_VMX_EPT_CAPS_INVVPID_CAPS_INDIV             RT_BIT_64(40)
    661 #define MSR_IA32_VMX_EPT_CAPS_INVVPID_CAPS_CONTEXT           RT_BIT_64(41)
    662 #define MSR_IA32_VMX_EPT_CAPS_INVVPID_CAPS_ALL               RT_BIT_64(42)
    663 #define MSR_IA32_VMX_EPT_CAPS_INVVPID_CAPS_CONTEXT_GLOBAL    RT_BIT_64(43)
     638#define MSR_IA32_VMX_EPT_CAPS_RWX_X_ONLY                                    RT_BIT_64(0)
     639#define MSR_IA32_VMX_EPT_CAPS_RWX_W_ONLY                                    RT_BIT_64(1)
     640#define MSR_IA32_VMX_EPT_CAPS_RWX_WX_ONLY                                   RT_BIT_64(2)
     641#define MSR_IA32_VMX_EPT_CAPS_GAW_21_BITS                                   RT_BIT_64(3)
     642#define MSR_IA32_VMX_EPT_CAPS_GAW_30_BITS                                   RT_BIT_64(4)
     643#define MSR_IA32_VMX_EPT_CAPS_GAW_39_BITS                                   RT_BIT_64(5)
     644#define MSR_IA32_VMX_EPT_CAPS_GAW_48_BITS                                   RT_BIT_64(6)
     645#define MSR_IA32_VMX_EPT_CAPS_GAW_57_BITS                                   RT_BIT_64(7)
     646#define MSR_IA32_VMX_EPT_CAPS_EMT_UC                                        RT_BIT_64(8)
     647#define MSR_IA32_VMX_EPT_CAPS_EMT_WC                                        RT_BIT_64(9)
     648#define MSR_IA32_VMX_EPT_CAPS_EMT_WT                                        RT_BIT_64(12)
     649#define MSR_IA32_VMX_EPT_CAPS_EMT_WP                                        RT_BIT_64(13)
     650#define MSR_IA32_VMX_EPT_CAPS_EMT_WB                                        RT_BIT_64(14)
     651#define MSR_IA32_VMX_EPT_CAPS_SP_21_BITS                                    RT_BIT_64(16)
     652#define MSR_IA32_VMX_EPT_CAPS_SP_30_BITS                                    RT_BIT_64(17)
     653#define MSR_IA32_VMX_EPT_CAPS_SP_39_BITS                                    RT_BIT_64(18)
     654#define MSR_IA32_VMX_EPT_CAPS_SP_48_BITS                                    RT_BIT_64(19)
     655#define MSR_IA32_VMX_EPT_CAPS_INVEPT                                        RT_BIT_64(20)
     656#define MSR_IA32_VMX_EPT_CAPS_INVEPT_CAPS_SINGLE_CONTEXT                    RT_BIT_64(25)
     657#define MSR_IA32_VMX_EPT_CAPS_INVEPT_CAPS_ALL_CONTEXTS                      RT_BIT_64(26)
     658#define MSR_IA32_VMX_EPT_CAPS_INVVPID                                       RT_BIT_64(32)
     659#define MSR_IA32_VMX_EPT_CAPS_INVVPID_CAPS_INDIV_ADDR                       RT_BIT_64(40)
     660#define MSR_IA32_VMX_EPT_CAPS_INVVPID_CAPS_SINGLE_CONTEXT                   RT_BIT_64(41)
     661#define MSR_IA32_VMX_EPT_CAPS_INVVPID_CAPS_ALL_CONTEXTS                     RT_BIT_64(42)
     662#define MSR_IA32_VMX_EPT_CAPS_INVVPID_CAPS_SINGLE_CONTEXT_RETAIN_GLOBALS    RT_BIT_64(43)
    664663
    665664/** @} */
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