git: libnvmm(3): Do not confuse long-mode and 64bit-mode
Aaron LI
aly at crater.dragonflybsd.org
Sun Aug 16 22:26:14 PDT 2026
commit 453793e82e6aa9f88bd904fc4d795a62cfc8401d
Author: Aaron LI <aly at aaronly.me>
Date: Mon Aug 17 12:49:57 2026 +0800
libnvmm(3): Do not confuse long-mode and 64bit-mode
32bit compatibility mode has EFER.LMA=1 and CS.L=0. Use CS.L rather than
EFER.LMA to determine whether to apply segmentation.
Credit: Maxime Villard (m00nbsd)
Summary of changes:
lib/libnvmm/libnvmm_x86.c | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/453793e82e6aa9f88bd904fc4d795a62cfc8401d
--
DragonFly BSD source repository
More information about the Commits
mailing list