From b9b07590ece7802962799bdefd6d0d6b931aaf0b Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 13 Sep 2000 04:44:27 +0000 Subject: [PATCH] Define some 586-class CESR MSR bits. --- sys/arch/i386/include/specialreg.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/sys/arch/i386/include/specialreg.h b/sys/arch/i386/include/specialreg.h index 7387ec05aad5..dde5a3d6e1f9 100644 --- a/sys/arch/i386/include/specialreg.h +++ b/sys/arch/i386/include/specialreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: specialreg.h,v 1.12 2000/09/13 03:37:04 thorpej Exp $ */ +/* $NetBSD: specialreg.h,v 1.13 2000/09/13 04:44:27 thorpej Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -260,6 +260,17 @@ * Manual, Volume 3: System Programming" for more information. */ +/* + * 586-class CESR MSR format. Lower 16 bits is CTR0, upper 16 bits + * is CTR1. + */ + +#define PMC5_CESR_EVENT 0x003f +#define PMC5_CESR_OS 0x0040 +#define PMC5_CESR_USR 0x0080 +#define PMC5_CESR_E 0x0100 +#define PMC5_CESR_P 0x0200 + /* * 686-class Event Selector MSR format. */