summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/pctr.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-26 23:32:15 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-26 23:32:15 +0000
commit7e77ba27c897a162c0a844ff571f5e6073abc12d (patch)
tree2d50b4e0ca041c2bfa1ac89e60ee6753a1bc664a /sys/arch/i386/include/pctr.h
parent970fb4b0003ae82a378bf02f9bac58a330d26885 (diff)
more special regs definitions; use names from pctr.h for those it uses
Diffstat (limited to 'sys/arch/i386/include/pctr.h')
-rw-r--r--sys/arch/i386/include/pctr.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/i386/include/pctr.h b/sys/arch/i386/include/pctr.h
index 15c1f3dfbb2..0bf1097a752 100644
--- a/sys/arch/i386/include/pctr.h
+++ b/sys/arch/i386/include/pctr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pctr.h,v 1.9 1998/05/25 08:02:24 downsj Exp $ */
+/* $OpenBSD: pctr.h,v 1.10 2001/01/26 23:32:14 mickey Exp $ */
/*
* Pentium performance counter driver for OpenBSD.
@@ -73,15 +73,6 @@ struct pctrst {
#ifdef _KERNEL
-#define MSR_TSC 0x10 /* MSR for TSC */
-#define P5MSR_CTRSEL 0x11 /* MSR for selecting both counters on P5 */
-#define P5MSR_CTR0 0x12 /* Value of Ctr0 on P5 */
-#define P5MSR_CTR1 0x13 /* Value of Ctr1 on P5 */
-#define P6MSR_CTRSEL0 0x186 /* MSR for programming CTR0 on P6 */
-#define P6MSR_CTRSEL1 0x187 /* MSR for programming CTR0 on P6 */
-#define P6MSR_CTR0 0xc1 /* Ctr0 on P6 */
-#define P6MSR_CTR1 0xc2 /* Ctr1 on P6 */
-
#define rdmsr(msr) \
({ \
pctrval v; \