Module Name: src
Committed By: jruoho
Date: Sat Aug 21 02:59:18 UTC 2010
Modified Files:
src/sys/arch/x86/include: specialreg.h
Log Message:
Add IA32_MPERF (E7h) and IA32_APERF (E8h) as MSR_MPERF and MSR_APERF.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 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.45 src/sys/arch/x86/include/specialreg.h:1.46
--- src/sys/arch/x86/include/specialreg.h:1.45 Sat Aug 21 02:31:13 2010
+++ src/sys/arch/x86/include/specialreg.h Sat Aug 21 02:59:18 2010
@@ -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 */