Changeset 72855 in vbox for trunk/include/VBox
- Timestamp:
- Jul 4, 2018 8:36:12 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r72854 r72855 742 742 { 743 743 /** Invalidate a specific page. */ 744 VMX FLUSHVPID_INDIV_ADDR= 0,744 VMXTLBFLUSHVPID_INDIV_ADDR = 0, 745 745 /** Invalidate one context (specific VPID). */ 746 VMX FLUSHVPID_SINGLE_CONTEXT= 1,746 VMXTLBFLUSHVPID_SINGLE_CONTEXT = 1, 747 747 /** Invalidate all contexts (all VPIDs). */ 748 VMX FLUSHVPID_ALL_CONTEXTS= 2,748 VMXTLBFLUSHVPID_ALL_CONTEXTS = 2, 749 749 /** Invalidate a single VPID context retaining global mappings. */ 750 VMX FLUSHVPID_SINGLE_CONTEXT_RETAIN_GLOBALS = 3,750 VMXTLBFLUSHVPID_SINGLE_CONTEXT_RETAIN_GLOBALS = 3, 751 751 /** Unsupported by VirtualBox. */ 752 VMX FLUSHVPID_NOT_SUPPORTED= 0xbad0,752 VMXTLBFLUSHVPID_NOT_SUPPORTED = 0xbad0, 753 753 /** Unsupported by CPU. */ 754 VMX FLUSHVPID_NONE= 0xbad1755 } VMX FLUSHVPID;756 AssertCompileSize(VMX FLUSHVPID, 4);754 VMXTLBFLUSHVPID_NONE = 0xbad1 755 } VMXTLBFLUSHVPID; 756 AssertCompileSize(VMXTLBFLUSHVPID, 4); 757 757 758 758 /** … … 763 763 { 764 764 /** Invalidate one context (specific EPT). */ 765 VMX FLUSHEPT_SINGLE_CONTEXT= 1,765 VMXTLBFLUSHEPT_SINGLE_CONTEXT = 1, 766 766 /* Invalidate all contexts (all EPTs) */ 767 VMX FLUSHEPT_ALL_CONTEXTS= 2,767 VMXTLBFLUSHEPT_ALL_CONTEXTS = 2, 768 768 /** Unsupported by VirtualBox. */ 769 VMX FLUSHEPT_NOT_SUPPORTED= 0xbad0,769 VMXTLBFLUSHEPT_NOT_SUPPORTED = 0xbad0, 770 770 /** Unsupported by CPU. */ 771 VMX FLUSHEPT_NONE= 0xbad1772 } VMX FLUSHEPT;773 AssertCompileSize(VMX FLUSHEPT, 4);771 VMXTLBFLUSHEPT_NONE = 0xbad1 772 } VMXTLBFLUSHEPT; 773 AssertCompileSize(VMXTLBFLUSHEPT, 4); 774 774 775 775 /** … … 826 826 } VMXCAPABILITY; 827 827 AssertCompileSize(VMXCAPABILITY, 8); 828 829 /** 830 * VMX tagged-TLB flush types. 831 */ 832 typedef enum 833 { 834 VMXTLBFLUSHTYPE_EPT, 835 VMXTLBFLUSHTYPE_VPID, 836 VMXTLBFLUSHTYPE_EPT_VPID, 837 VMXTLBFLUSHTYPE_NONE 838 } VMXTLBFLUSHTYPE; 839 /** Pointer to a VMXTLBFLUSHTYPE enum. */ 840 typedef VMXTLBFLUSHTYPE *PVMXTLBFLUSHTYPE; 841 /** Pointer to a const VMXTLBFLUSHTYPE enum. */ 842 typedef const VMXTLBFLUSHTYPE *PCVMXTLBFLUSHTYPE; 828 843 829 844 /** … … 2321 2336 * @param pDescriptor Pointer to the descriptor. 2322 2337 */ 2323 DECLASM(int) VMXR0InvEPT(VMX FLUSHEPT enmFlush, uint64_t *pDescriptor);2338 DECLASM(int) VMXR0InvEPT(VMXTLBFLUSHEPT enmFlush, uint64_t *pDescriptor); 2324 2339 2325 2340 … … 2331 2346 * @param pDescriptor Pointer to the descriptor. 2332 2347 */ 2333 DECLASM(int) VMXR0InvVPID(VMX FLUSHVPID enmFlush, uint64_t *pDescriptor);2348 DECLASM(int) VMXR0InvVPID(VMXTLBFLUSHVPID enmFlush, uint64_t *pDescriptor); 2334 2349 2335 2350
Note:
See TracChangeset
for help on using the changeset viewer.