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 IA32_MPERF (E7h) and IA32_APERF (E8...



details:   https://anonhg.NetBSD.org/src/rev/4973df254281
branches:  trunk
changeset: 757232:4973df254281
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sat Aug 21 02:59:18 2010 +0000

description:
Add IA32_MPERF (E7h) and IA32_APERF (E8h) as MSR_MPERF and MSR_APERF.

diffstat:

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

diffs (18 lines):

diff -r 17dded18b09c -r 4973df254281 sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Sat Aug 21 02:47:37 2010 +0000
+++ b/sys/arch/x86/include/specialreg.h Sat Aug 21 02:59:18 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.45 2010/08/21 02:31:13 jruoho Exp $   */
+/*     $NetBSD: specialreg.h,v 1.46 2010/08/21 02:59:18 jruoho Exp $   */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -288,6 +288,8 @@
 #define MSR_PERFCTR0           0x0c1
 #define MSR_PERFCTR1           0x0c2
 #define MSR_FSB_FREQ           0x0cd   /* Core Duo/Solo only */
+#define MSR_MPERF              0x0e7
+#define MSR_APERF              0x0e8
 #define MSR_IA32_EXT_CONFIG    0x0ee   /* Undocumented. Core Solo/Duo only */
 #define MSR_MTRRcap            0x0fe
 #define        MSR_BBL_CR_ADDR         0x116   /* PII+ only */



Home | Main Index | Thread Index | Old Index