Changeset 107854 in vbox for trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
- Timestamp:
- Jan 18, 2025 11:59:26 PM (5 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167053
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r107113 r107854 692 692 static const struct CLANGWORKAROUND { PFNHMSVMVMRUN pfn; } s_aHmR0SvmVmRunFunctions[] = 693 693 { 694 { hmR0SvmVmRun_SansXcr0_SansIbpbEntry_SansIbpbExit }, 695 { hmR0SvmVmRun_WithXcr0_SansIbpbEntry_SansIbpbExit }, 696 { hmR0SvmVmRun_SansXcr0_WithIbpbEntry_SansIbpbExit }, 697 { hmR0SvmVmRun_WithXcr0_WithIbpbEntry_SansIbpbExit }, 698 { hmR0SvmVmRun_SansXcr0_SansIbpbEntry_WithIbpbExit }, 699 { hmR0SvmVmRun_WithXcr0_SansIbpbEntry_WithIbpbExit }, 700 { hmR0SvmVmRun_SansXcr0_WithIbpbEntry_WithIbpbExit }, 701 { hmR0SvmVmRun_WithXcr0_WithIbpbEntry_WithIbpbExit }, 694 { hmR0SvmVmRun_SansXcr0_SansIbpbEntry_SansIbpbExit_SansSpecCtrl }, 695 { hmR0SvmVmRun_WithXcr0_SansIbpbEntry_SansIbpbExit_SansSpecCtrl }, 696 { hmR0SvmVmRun_SansXcr0_WithIbpbEntry_SansIbpbExit_SansSpecCtrl }, 697 { hmR0SvmVmRun_WithXcr0_WithIbpbEntry_SansIbpbExit_SansSpecCtrl }, 698 { hmR0SvmVmRun_SansXcr0_SansIbpbEntry_WithIbpbExit_SansSpecCtrl }, 699 { hmR0SvmVmRun_WithXcr0_SansIbpbEntry_WithIbpbExit_SansSpecCtrl }, 700 { hmR0SvmVmRun_SansXcr0_WithIbpbEntry_WithIbpbExit_SansSpecCtrl }, 701 { hmR0SvmVmRun_WithXcr0_WithIbpbEntry_WithIbpbExit_SansSpecCtrl }, 702 { hmR0SvmVmRun_SansXcr0_SansIbpbEntry_SansIbpbExit_WithSpecCtrl }, 703 { hmR0SvmVmRun_WithXcr0_SansIbpbEntry_SansIbpbExit_WithSpecCtrl }, 704 { hmR0SvmVmRun_SansXcr0_WithIbpbEntry_SansIbpbExit_WithSpecCtrl }, 705 { hmR0SvmVmRun_WithXcr0_WithIbpbEntry_SansIbpbExit_WithSpecCtrl }, 706 { hmR0SvmVmRun_SansXcr0_SansIbpbEntry_WithIbpbExit_WithSpecCtrl }, 707 { hmR0SvmVmRun_WithXcr0_SansIbpbEntry_WithIbpbExit_WithSpecCtrl }, 708 { hmR0SvmVmRun_SansXcr0_WithIbpbEntry_WithIbpbExit_WithSpecCtrl }, 709 { hmR0SvmVmRun_WithXcr0_WithIbpbEntry_WithIbpbExit_WithSpecCtrl }, 702 710 }; 703 711 uintptr_t const idx = (pVCpu->hmr0.s.fLoadSaveGuestXcr0 ? 1 : 0) 704 712 | (pVCpu->hmr0.s.fWorldSwitcher & HM_WSF_IBPB_ENTRY ? 2 : 0) 705 | (pVCpu->hmr0.s.fWorldSwitcher & HM_WSF_IBPB_EXIT ? 4 : 0); 713 | (pVCpu->hmr0.s.fWorldSwitcher & HM_WSF_IBPB_EXIT ? 4 : 0) 714 | (pVCpu->hmr0.s.fWorldSwitcher & HM_WSF_SPEC_CTRL ? 8 : 0); 706 715 PFNHMSVMVMRUN const pfnVMRun = s_aHmR0SvmVmRunFunctions[idx].pfn; 707 716 if (pVCpu->hmr0.s.svm.pfnVMRun != pfnVMRun)
Note:
See TracChangeset
for help on using the changeset viewer.