summaryrefslogtreecommitdiff
path: root/lib/libsndio
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2024-04-01 05:11:50 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2024-04-01 05:11:50 +0000
commit316f82e722617cebfca14dc4bfa69e0c099b9ab1 (patch)
treeac942bb96844bf986a99aca865276874b223bea6 /lib/libsndio
parent8eff732c11ec9746371df36422013a51aedc5ee4 (diff)
Delete 108 lines of ASM from vmx_enter_guest() that predated lots
of later enhancements, removing the save/restore of flags, selectors, and MSRs: flags are caller-saved and don't need restoring while selectors and MSRs are auto-restored. The FSBASE, GSBASE, and KERNELGSBASE MSRs just need the correct values set with vmwrite() in the "on new CPU?" block of vcpu_run_vmx(). Also, only rdmsr(MSR_MISC_ENABLE) once in vcpu_reset_regs_vmx(), give symbolic names to the exit-load MSR slots, eliminate VMX_NUM_MSR_STORE, and #if 0 the vc_vmx_msr_entry_load_{va,pa} code and definitions as unused. ok dv@
Diffstat (limited to 'lib/libsndio')
0 files changed, 0 insertions, 0 deletions