git: cpu/x86_64: Move PAT mode defines to its own <pat.h> header
Aaron LI
aly at crater.dragonflybsd.org
Fri Aug 22 20:27:14 PDT 2025
commit cf7392bd79db78fd1f6b92a31a6cc8455e632144
Author: Aaron LI <aly at aaronly.me>
Date: Sat Aug 23 09:47:26 2025 +0800
cpu/x86_64: Move PAT mode defines to its own <pat.h> header
The main purpose is to make NVMM be more self-contained and not require
<machine/specialreg.h>, and thus no collision with various MSRs and
other macros.
This change also help reduce the pollution from <machine/specialreg.h>
header in general.
Referred-to: NetBSD
Summary of changes:
.../isa/isa_intr.h => cpu/x86_64/include/pat.h} | 28 ++++++++++++----------
sys/cpu/x86_64/include/specialreg.h | 12 ----------
2 files changed, 16 insertions(+), 24 deletions(-)
copy sys/{platform/pc64/isa/isa_intr.h => cpu/x86_64/include/pat.h} (77%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cf7392bd79db78fd1f6b92a31a6cc8455e632144
--
DragonFly BSD source repository
More information about the Commits
mailing list