Changeset 49283 in vbox for trunk/include
- Timestamp:
- Oct 25, 2013 8:49:06 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r49000 r49283 1477 1477 * @{ 1478 1478 */ 1479 #define VMX_ENTRY_INTERRUPTION_INFO_ VALID(a)((a) & RT_BIT(31))1479 #define VMX_ENTRY_INTERRUPTION_INFO_IS_VALID(a) RT_BOOL((a) & RT_BIT(31)) 1480 1480 #define VMX_ENTRY_INTERRUPTION_INFO_TYPE_SHIFT 8 1481 1481 #define VMX_ENTRY_INTERRUPTION_INFO_TYPE(a) ((a >> VMX_ENTRY_INTERRUPTION_INFO_TYPE_SHIFT) & 7) … … 1490 1490 #define VMX_EXIT_INTERRUPTION_INFO_TYPE(a) (((a) >> VMX_EXIT_INTERRUPTION_INFO_TYPE_SHIFT) & 7) 1491 1491 #define VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_VALID RT_BIT(11) 1492 #define VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(a) ((a) & VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_VALID)1492 #define VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(a) RT_BOOL((a) & VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_VALID) 1493 1493 #define VMX_EXIT_INTERRUPTION_INFO_NMI_UNBLOCK(a) ((a) & RT_BIT(12)) 1494 1494 #ifdef VBOX_WITH_OLD_VTX_CODE … … 1496 1496 #endif 1497 1497 #define VMX_EXIT_INTERRUPTION_INFO_VALID RT_BIT(31) 1498 #define VMX_EXIT_INTERRUPTION_INFO_IS_VALID(a) ((a) & RT_BIT(31))1498 #define VMX_EXIT_INTERRUPTION_INFO_IS_VALID(a) RT_BOOL((a) & RT_BIT(31)) 1499 1499 /** Construct an irq event injection value from the exit interruption info value (same except that bit 12 is reserved). */ 1500 1500 #define VMX_VMCS_CTRL_ENTRY_IRQ_INFO_FROM_EXIT_INT_INFO(a) ((a) & ~RT_BIT(12)) … … 1519 1519 #define VMX_IDT_VECTORING_INFO_TYPE(a) (((a) >> VMX_IDT_VECTORING_INFO_TYPE_SHIFT) & 7) 1520 1520 #define VMX_IDT_VECTORING_INFO_ERROR_CODE_VALID RT_BIT(11) 1521 #define VMX_IDT_VECTORING_INFO_ERROR_CODE_IS_VALID(a) ((a) & VMX_IDT_VECTORING_INFO_ERROR_CODE_VALID)1521 #define VMX_IDT_VECTORING_INFO_ERROR_CODE_IS_VALID(a) RT_BOOL((a) & VMX_IDT_VECTORING_INFO_ERROR_CODE_VALID) 1522 1522 #define VMX_IDT_VECTORING_INFO_VALID(a) ((a) & RT_BIT(31)) 1523 1523 #define VMX_ENTRY_INT_INFO_FROM_EXIT_IDT_INFO(a) ((a) & ~RT_BIT(12))
Note:
See TracChangeset
for help on using the changeset viewer.