git: x86_64/specialreg.h: Deprecate old defines of Spectre mitigation

Aaron LI aly at crater.dragonflybsd.org
Sat Jun 19 03:42:05 PDT 2021


commit 60625a4d1658bfed1df03f89cd1a4885ceafe918
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   | 42 ------------------------------
 sys/platform/pc64/x86_64/identcpu.c   |  2 +-
 sys/platform/pc64/x86_64/vm_machdep.c | 48 ++++++++++++++++++-----------------
 3 files changed, 26 insertions(+), 66 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/60625a4d1658bfed1df03f89cd1a4885ceafe918


-- 
DragonFly BSD source repository


More information about the Commits mailing list