VirtualBox

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


Ignore:
Timestamp:
Jul 5, 2012 12:10:53 PM (12 years ago)
Author:
vboxsync
Message:

VMM: RDTSCP support on Intel. Segregated some common CPU features from the AMD superset into Extended features as they're now available on Intel too.

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

Legend:

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

    r41976 r42024  
    5151    /** The PAE feature bit. (Std+Ext) */
    5252    CPUMCPUIDFEATURE_PAE,
    53     /** The NXE feature bit. (Ext) */
    54     CPUMCPUIDFEATURE_NXE,
     53    /** The NX feature bit. (Ext) */
     54    CPUMCPUIDFEATURE_NX,
    5555    /** The LAHF/SAHF feature bit (64 bits mode only). (Ext) */
    5656    CPUMCPUIDFEATURE_LAHF,
  • trunk/include/VBox/vmm/hwacc_vmx.h

    r41189 r42024  
    541541/** 50 INVEPT. Guest software attempted to execute INVEPT. */
    542542#define VMX_EXIT_INVEPT             50
     543/** 51 RDTSCP. Guest software attempted to execute RDTSCP. */
     544#define VMX_EXIT_RDTSCP             51
    543545/** 52 VMX-preemption timer expired. The preemption timer counted down to zero. */
    544546#define VMX_EXIT_PREEMPTION_TIMER   52
     
    860862/** VM Exit when executing the RDPMC instruction. */
    861863#define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDPMC_EXIT             RT_BIT(11)
    862 /** VM Exit when executing the RDTSC instruction. */
     864/** VM Exit when executing the RDTSC/RDTSCP instruction. */
    863865#define VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT             RT_BIT(12)
    864866/** VM Exit when executing the MOV to CR3 instruction. (forced to 1 on the 'first' VT-x capable CPUs; this actually includes the newest Nehalem CPUs) */
     
    901903/** Descriptor table instructions cause VM-exits. */
    902904#define VMX_VMCS_CTRL_PROC_EXEC2_DESCRIPTOR_INSTR_EXIT          RT_BIT(2)
    903 /** RDTSCP causes a VM-exit. */
    904 #define VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP_EXIT                    RT_BIT(3)
     905/** RDTSCP supported/enabled. */
     906#define VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP                         RT_BIT(3)
    905907/** Virtualize x2APIC mode. */
    906908#define VMX_VMCS_CTRL_PROC_EXEC2_X2APIC                         RT_BIT(4)
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