git: x86_64/specialreg.h: Rename several CR4 defines

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


commit fb3360ae7302a04a037d7fd38233bb7709bc1785
Author: Aaron LI <aly at aaronly.me>
Date:   Tue May 11 12:39:54 2021 +0800

    x86_64/specialreg.h: Rename several CR4 defines
    
    Rename CR4_FXSR -> CR4_OSFXSR, CR4_XMM -> CR4_OSXMMEXCPT, and
    CR4_XSAVE -> CR4_OSXSAVE, so that they match the naming conventions in
    the Intel specification and look more clear.
    
    Submitted in bug #3265 by chicken:
    https://bugs.dragonflybsd.org/issues/3265

Summary of changes:
 sys/cpu/x86_64/include/specialreg.h | 6 +++---
 sys/platform/pc64/vmm/vmx.c         | 4 ++--
 sys/platform/pc64/x86_64/initcpu.c  | 4 ++--
 sys/platform/pc64/x86_64/npx.c      | 2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fb3360ae7302a04a037d7fd38233bb7709bc1785


-- 
DragonFly BSD source repository



More information about the Commits mailing list