x86_64/specialreg.h: Rename several CR4 defines
authorAaron LI <aly@aaronly.me>
Tue, 11 May 2021 04:39:54 +0000 (12:39 +0800)
committerAaron LI <aly@aaronly.me>
Tue, 15 Jun 2021 13:36:45 +0000 (21:36 +0800)
commitbef7f0c5dc0313b7fc546e94b4f9399d8b46eebb
tree3ac34c1c7b48020310e4ced2dba0dfa8410846b6
parent7562e4b685d9d08c2e5a4b9720909b974bfe8289
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
sys/cpu/x86_64/include/specialreg.h
sys/platform/pc64/vmm/vmx.c
sys/platform/pc64/x86_64/initcpu.c
sys/platform/pc64/x86_64/npx.c