commit 31815141bcac6910dceb328608728c1824cd7ee5 Author: Matthew Dillon <dil...@apollo.backplane.com> Date: Thu Jul 1 09:32:51 2021 -0700
kernel - Expand GDT table to maximum size * Expand the GDT table from 9 entries to 65536 entries (limit field 0xFFFF). * This deals with an Intel quirk in VMX where the descriptor for the GDT limit field is not restored on a VM exit, but instead unconditionally set to 0xFFFF. Summary of changes: sys/cpu/x86_64/include/segments.h | 9 ++++++++- sys/dev/virtual/nvmm/nvmm_os.h | 2 +- sys/platform/pc64/include/globaldata.h | 4 ++-- sys/platform/pc64/x86_64/machdep.c | 18 ++++++++++++------ sys/platform/pc64/x86_64/mp_machdep.c | 30 +++++++++++++++++++----------- sys/platform/pc64/x86_64/pmap.c | 3 ++- sys/platform/pc64/x86_64/trap.c | 2 +- 7 files changed, 45 insertions(+), 23 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/31815141bcac6910dceb328608728c1824cd7ee5 -- DragonFly BSD source repository