Module Name:    src
Committed By:   martin
Date:           Wed Jul 17 15:37:34 UTC 2019

Modified Files:
        src/sys/arch/x86/include [netbsd-8]: specialreg.h

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #1293):

        sys/arch/x86/include/specialreg.h: revision 1.149

 Define some new bits of CPUID Fn8000_0007 %edx AMD Advanced Power Management
leaf.


To generate a diff of this commit:
cvs rdiff -u -r1.98.2.13 -r1.98.2.14 src/sys/arch/x86/include/specialreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/include/specialreg.h
diff -u src/sys/arch/x86/include/specialreg.h:1.98.2.13 src/sys/arch/x86/include/specialreg.h:1.98.2.14
--- src/sys/arch/x86/include/specialreg.h:1.98.2.13	Wed May 29 15:43:26 2019
+++ src/sys/arch/x86/include/specialreg.h	Wed Jul 17 15:37:33 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: specialreg.h,v 1.98.2.13 2019/05/29 15:43:26 martin Exp $	*/
+/*	$NetBSD: specialreg.h,v 1.98.2.14 2019/07/17 15:37:33 martin Exp $	*/
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -654,12 +654,16 @@
 #define CPUID_APM_TSC	0x00000100	/* TSC invariant */
 #define CPUID_APM_CPB	0x00000200	/* Core performance boost */
 #define CPUID_APM_EFF	0x00000400	/* Effective Frequency (read-only) */
-
-#define CPUID_APM_FLAGS		"\20" \
-	"\1" "TS"	"\2" "FID"	"\3" "VID"	"\4" "TTP" \
-	"\5" "HTC"	"\6" "STC"	"\7" "100"	"\10" "HWP" \
-	"\11" "TSC"	"\12" "CPB"	"\13" "EffFreq"	"\14" "B11" \
-	"\15" "B12"
+#define CPUID_APM_PROCFI 0x00000800	/* Proc Feedback Interface */
+#define CPUID_APM_PROCPR 0x00001000	/* Proc Power Reporting  */
+#define CPUID_APM_CONNSTBY 0x00002000	/* Connected Standby */
+#define CPUID_APM_RAPL	0x00004000	/* Running Average Power Limit */
+
+#define CPUID_APM_FLAGS		"\20"					      \
+	"\1" "TS"	"\2" "FID"	"\3" "VID"	"\4" "TTP"	      \
+	"\5" "HTC"	"\6" "STC"	"\7" "100"	"\10" "HWP"	      \
+	"\11" "TSC"	"\12" "CPB"	"\13" "EffFreq"	"\14" "PROCFI"	      \
+	"\15" "PROCPR"	"\16" "CONNSTBY" "\17" "RAPL"
 
 /* AMD Fn8000000a %edx features (SVM features) */
 #define CPUID_AMD_SVM_NP		0x00000001

Reply via email to