commit d4ba871f2aa19ca9e23e8ce3de1f36c079cc7e34 Author: Aaron LI <a...@aaronly.me> Date: Fri May 14 20:10:32 2021 +0800
nvmm: Port to DragonFly #10: cpu_info etc. * Replace 'struct cpu_info' with 'struct globaldata'. * Port cpu_info's ci_tss_sel/ci_tss/ci_gdt. * Port curcpu(), cpu_number(), cpu_index() functions. * Port CPU iteration code. Summary of changes: sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c | 12 ++++----- sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c | 43 ++++++++++++++++++++------------- 2 files changed, 32 insertions(+), 23 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d4ba871f2aa19ca9e23e8ce3de1f36c079cc7e34 -- DragonFly BSD source repository