Hi tech@, Here is a diff to remove unused C3 values.
Comments? OK? Index: sys/arch/amd64/include/specialreg.h =================================================================== RCS file: /cvs/src/sys/arch/amd64/include/specialreg.h,v retrieving revision 1.72 diff -u -p -r1.72 specialreg.h --- sys/arch/amd64/include/specialreg.h 23 May 2018 05:37:01 -0000 1.72 +++ sys/arch/amd64/include/specialreg.h 2 Jun 2018 09:14:32 -0000 @@ -873,14 +873,9 @@ #define C3_CPUID_DO_PMM 0x002000 /* VIA C3 xcrypt-* instruction context control options */ -#define C3_CRYPT_CWLO_ROUND_M 0x0000000f -#define C3_CRYPT_CWLO_ALG_M 0x00000070 #define C3_CRYPT_CWLO_ALG_AES 0x00000000 -#define C3_CRYPT_CWLO_KEYGEN_M 0x00000080 -#define C3_CRYPT_CWLO_KEYGEN_HW 0x00000000 #define C3_CRYPT_CWLO_KEYGEN_SW 0x00000080 #define C3_CRYPT_CWLO_NORMAL 0x00000000 -#define C3_CRYPT_CWLO_INTERMEDIATE 0x00000100 #define C3_CRYPT_CWLO_ENCRYPT 0x00000000 #define C3_CRYPT_CWLO_DECRYPT 0x00000200 #define C3_CRYPT_CWLO_KEY128 0x0000000a /* 128bit, 10 rds */ Index: sys/arch/i386/include/specialreg.h =================================================================== RCS file: /cvs/src/sys/arch/i386/include/specialreg.h,v retrieving revision 1.66 diff -u -p -r1.66 specialreg.h --- sys/arch/i386/include/specialreg.h 28 May 2018 20:52:44 -0000 1.66 +++ sys/arch/i386/include/specialreg.h 2 Jun 2018 09:14:32 -0000 @@ -724,14 +724,9 @@ #define C3_CPUID_DO_PMM 0x002000 /* VIA C3 xcrypt-* instruction context control options */ -#define C3_CRYPT_CWLO_ROUND_M 0x0000000f -#define C3_CRYPT_CWLO_ALG_M 0x00000070 #define C3_CRYPT_CWLO_ALG_AES 0x00000000 -#define C3_CRYPT_CWLO_KEYGEN_M 0x00000080 -#define C3_CRYPT_CWLO_KEYGEN_HW 0x00000000 #define C3_CRYPT_CWLO_KEYGEN_SW 0x00000080 #define C3_CRYPT_CWLO_NORMAL 0x00000000 -#define C3_CRYPT_CWLO_INTERMEDIATE 0x00000100 #define C3_CRYPT_CWLO_ENCRYPT 0x00000000 #define C3_CRYPT_CWLO_DECRYPT 0x00000200 #define C3_CRYPT_CWLO_KEY128 0x0000000a /* 128bit, 10 rds */
