Changeset 101667 in vbox for trunk/include/VBox
- Timestamp:
- Oct 31, 2023 4:09:30 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vm.h
r101639 r101667 574 574 #define VMCPU_FF_VMX_PREEMPT_TIMER RT_BIT_64(VMCPU_FF_VMX_PREEMPT_TIMER_BIT) 575 575 #define VMCPU_FF_VMX_PREEMPT_TIMER_BIT 31 576 /** Pending MTF (Monitor Trap Flag) event. 577 * @todo r=bird: Not part of VMCPU_FF_ALL_MASK, explain? */ 576 /** Pending MTF (Monitor Trap Flag) event. */ 578 577 #define VMCPU_FF_VMX_MTF RT_BIT_64(VMCPU_FF_VMX_MTF_BIT) 579 578 #define VMCPU_FF_VMX_MTF_BIT 32 580 579 /** VMX APIC-write emulation pending. 581 580 * @todo possible candidate for internal EFLAGS, or maybe just a summary bit 582 * (see also VMCPU_FF_VMX_INT_WINDOW). 583 * @todo r=bird: Not part of VMCPU_FF_ALL_MASK, explain? */ 581 * (see also VMCPU_FF_VMX_INT_WINDOW). */ 584 582 #define VMCPU_FF_VMX_APIC_WRITE RT_BIT_64(VMCPU_FF_VMX_APIC_WRITE_BIT) 585 583 #define VMCPU_FF_VMX_APIC_WRITE_BIT 33 … … 592 590 * @todo Change the IEM side of this to not poll but to track down the places 593 591 * where it can be generated and set an internal EFLAGS bit that causes it 594 * to be checked out when finishing the current instruction. 595 * @todo r=bird: Not part of VMCPU_FF_ALL_MASK, explain? */ 592 * to be checked out when finishing the current instruction. */ 596 593 #define VMCPU_FF_VMX_INT_WINDOW RT_BIT_64(VMCPU_FF_VMX_INT_WINDOW_BIT) 597 594 #define VMCPU_FF_VMX_INT_WINDOW_BIT 34 598 595 /** VMX NMI-window event pending. 599 * Same "pending" comment and todo in VMCPU_FF_VMX_INT_WINDOW. 600 * @todo r=bird: Not part of VMCPU_FF_ALL_MASK, explain? */ 596 * Same "pending" comment and todo in VMCPU_FF_VMX_INT_WINDOW. */ 601 597 #define VMCPU_FF_VMX_NMI_WINDOW RT_BIT_64(VMCPU_FF_VMX_NMI_WINDOW_BIT) 602 598 #define VMCPU_FF_VMX_NMI_WINDOW_BIT 35 … … 720 716 /** All the forced VM flags. */ 721 717 #define VM_FF_ALL_MASK (UINT32_MAX) 722 /** All the forced VMCPU flags. 723 * @todo r=bird: VMCPU_FF_VMX_MTF, VMCPU_FF_VMX_APIC_WRITE, 724 * VMCPU_FF_VMX_INT_WINDOW and VMCPU_FF_VMX_NMI_WINDOW are not a part 725 * of this mask for some unexplained reason. */ 726 #define VMCPU_FF_ALL_MASK (UINT32_MAX) 718 /** All the forced VMCPU flags. */ 719 #define VMCPU_FF_ALL_MASK ( UINT32_MAX \ 720 | VMCPU_FF_VMX_MTF | VMCPU_FF_VMX_APIC_WRITE | VMCPU_FF_VMX_INT_WINDOW \ 721 | VMCPU_FF_VMX_NMI_WINDOW ) 727 722 728 723 /** All the forced VM flags except those related to raw-mode and hardware
Note:
See TracChangeset
for help on using the changeset viewer.