git: DragonFly_RELEASE_6_0 x86_64/specialreg.h: Deprecate old defines of Spectre mitigation
Aaron LI
aly at crater.dragonflybsd.org
Fri Oct 8 06:37:44 PDT 2021
commit 22e07bffca3d72ff01814e82b1d64a84d8fd6051
Author: Aaron LI <aly at aaronly.me>
Date: Wed May 26 19:40:58 2021 +0800
x86_64/specialreg.h: Deprecate old defines of Spectre mitigation
Migrate the old defines of Spectre mitigation to the new ones obtained
from NetBSD and FreeBSD. Specifically, apply the following changes:
* CPUID_7_0_I3_* -> CPUID_STDEXT3_*
* CPUID_SEF_* -> CPUID_STDEXT3_*
* CPUID_*_80000008_I1_* -> CPUID_CAPEX_*
In addition, merge the comments to the relevant code.
No functional changes.
Summary of changes:
sys/cpu/x86_64/include/specialreg.h | 43 -------------------------------
sys/platform/pc64/x86_64/identcpu.c | 2 +-
sys/platform/pc64/x86_64/vm_machdep.c | 48 ++++++++++++++++++-----------------
3 files changed, 26 insertions(+), 67 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/22e07bffca3d72ff01814e82b1d64a84d8fd6051
--
DragonFly BSD source repository
More information about the Commits
mailing list