VirtualBox

Changeset 23219 in vbox for trunk/include


Ignore:
Timestamp:
Sep 22, 2009 2:35:29 PM (15 years ago)
Author:
vboxsync
Message:

Task switch additions for VT-x

File:
1 edited

Legend:

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

    r22036 r23219  
    10921092/** @} */
    10931093
     1094/** @name VMX_EXIT_QUALIFICATION_TASK_SWITCH
     1095 * @{
     1096 */
     1097#define VMX_EXIT_QUALIFICATION_TASK_SWITCH_SELECTOR(a)  (a & 0xffff)
     1098#define VMX_EXIT_QUALIFICATION_TASK_SWITCH_TYPE(a)      ((a >> 30)& 0x3)
     1099/** Task switch caused by a call instruction. */
     1100#define VMX_EXIT_QUALIFICATION_TASK_SWITCH_TYPE_CALL    0
     1101/** Task switch caused by an iret instruction. */
     1102#define VMX_EXIT_QUALIFICATION_TASK_SWITCH_TYPE_IRET    1
     1103/** Task switch caused by a jmp instruction. */
     1104#define VMX_EXIT_QUALIFICATION_TASK_SWITCH_TYPE_JMP     2
     1105/** Task switch caused by an interrupt gate. */
     1106#define VMX_EXIT_QUALIFICATION_TASK_SWITCH_TYPE_IDT     3
     1107
     1108/** @} */
     1109
    10941110
    10951111/** @name VMX_EXIT_EPT_VIOLATION
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