Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/include Add Energy Performance Bias bit.



details:   https://anonhg.NetBSD.org/src/rev/66b22df96296
branches:  trunk
changeset: 325742:66b22df96296
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sat Jan 04 21:09:39 2014 +0000

description:
Add Energy Performance Bias bit.

diffstat:

 sys/arch/x86/include/specialreg.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r b9619fa7cb2b -r 66b22df96296 sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Sat Jan 04 20:19:33 2014 +0000
+++ b/sys/arch/x86/include/specialreg.h Sat Jan 04 21:09:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.76 2014/01/04 19:08:43 msaitoh Exp $  */
+/*     $NetBSD: specialreg.h,v 1.77 2014/01/04 21:09:39 msaitoh Exp $  */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -276,8 +276,9 @@
  * Power Management, Fn0000_0006 - %ecx.
  */
 #define CPUID_DSPM_HWF 0x00000001      /* MSR_APERF/MSR_MPERF available */
+#define CPUID_DSPM_EPB 0x00000008      /* Energy Performance Bias */
 
-#define CPUID_DSPM_FLAGS1      "\20" "\1" "HWF"
+#define CPUID_DSPM_FLAGS1      "\20" "\1" "HWF" "\4" "EPB"
 
 /*
  * Intel Structured Extended Feature leaf



Home | Main Index | Thread Index | Old Index