Changeset 79647 in vbox for trunk/include
- Timestamp:
- Jul 10, 2019 4:27:14 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r79635 r79647 2559 2559 * information field (same except that bit 12 is reserved). */ 2560 2560 #define VMX_ENTRY_INT_INFO_FROM_EXIT_IDT_INFO(a) ((a) & ~RT_BIT(12)) 2561 2562 2561 /** If the VM-entry interruption information field indicates a page-fault. */ 2563 #define VMX_ENTRY_INT_INFO_IS_XCPT_PF(a) (((a) & ( VMX_BF_ENTRY_INT_INFO_VALID_MASK 2564 | VMX_BF_ENTRY_INT_INFO_TYPE_MASK 2562 #define VMX_ENTRY_INT_INFO_IS_XCPT_PF(a) (((a) & ( VMX_BF_ENTRY_INT_INFO_VALID_MASK \ 2563 | VMX_BF_ENTRY_INT_INFO_TYPE_MASK \ 2565 2564 | VMX_BF_ENTRY_INT_INFO_VECTOR_MASK)) \ 2566 2565 == ( RT_BF_MAKE(VMX_BF_ENTRY_INT_INFO_VALID, 1) \ 2567 2566 | RT_BF_MAKE(VMX_BF_ENTRY_INT_INFO_TYPE, VMX_ENTRY_INT_INFO_TYPE_HW_XCPT) \ 2568 2567 | RT_BF_MAKE(VMX_BF_ENTRY_INT_INFO_VECTOR, X86_XCPT_PF))) 2569 2568 /** If the VM-entry interruption information field indicates an external 2569 * interrupt. */ 2570 #define VMX_ENTRY_INT_INFO_IS_EXT_INT(a) (((a) & ( VMX_BF_ENTRY_INT_INFO_VALID_MASK \ 2571 | VMX_BF_ENTRY_INT_INFO_TYPE_MASK)) \ 2572 == ( RT_BF_MAKE(VMX_BF_ENTRY_INT_INFO_VALID, 1) \ 2573 | RT_BF_MAKE(VMX_BF_ENTRY_INT_INFO_TYPE, VMX_ENTRY_INT_INFO_TYPE_EXT_INT))) 2574 /** If the VM-entry interruption information field indicates an NMI. */ 2575 #define VMX_ENTRY_INT_INFO_IS_XCPT_NMI(a) (((a) & ( VMX_BF_ENTRY_INT_INFO_VALID_MASK \ 2576 | VMX_BF_ENTRY_INT_INFO_TYPE_MASK \ 2577 | VMX_BF_ENTRY_INT_INFO_VECTOR_MASK)) \ 2578 == ( RT_BF_MAKE(VMX_BF_ENTRY_INT_INFO_VALID, 1) \ 2579 | RT_BF_MAKE(VMX_BF_ENTRY_INT_INFO_TYPE, VMX_ENTRY_INT_INFO_TYPE_NMI) \ 2580 | RT_BF_MAKE(VMX_BF_ENTRY_INT_INFO_VECTOR, X86_XCPT_NMI))) 2570 2581 2571 2582 /** Bit fields for VM-entry interruption information. */ … … 2731 2742 * information field (same except that bit 12 is reserved). */ 2732 2743 #define VMX_IDT_VECTORING_INFO_FROM_ENTRY_INT_INFO(a) ((a) & ~RT_BIT(12)) 2733 2734 2744 /** If the IDT-vectoring information field indicates a page-fault. */ 2735 #define VMX_IDT_VECTORING_INFO_IS_XCPT_PF(a) (((a) & ( VMX_BF_IDT_VECTORING_INFO_VALID_MASK 2736 | VMX_BF_IDT_VECTORING_INFO_TYPE_MASK 2745 #define VMX_IDT_VECTORING_INFO_IS_XCPT_PF(a) (((a) & ( VMX_BF_IDT_VECTORING_INFO_VALID_MASK \ 2746 | VMX_BF_IDT_VECTORING_INFO_TYPE_MASK \ 2737 2747 | VMX_BF_IDT_VECTORING_INFO_VECTOR_MASK)) \ 2738 2748 == ( RT_BF_MAKE(VMX_BF_IDT_VECTORING_INFO_VALID, 1) \
Note:
See TracChangeset
for help on using the changeset viewer.