summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/intr_machdep.h
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-12-08 22:59:39 +0000
committerfsmp <fsmp@FreeBSD.org>1997-12-08 22:59:39 +0000
commitc29fe145047eadea9dcee01d907b3a990906a6af (patch)
treec4ae29ea386990372267c53b25ce4c0aba947b0e /sys/i386/isa/intr_machdep.h
parentf950ecfd861dc1e3b8cf62d9aadd25436df2186d (diff)
downloadFreeBSD-src-c29fe145047eadea9dcee01d907b3a990906a6af.zip
FreeBSD-src-c29fe145047eadea9dcee01d907b3a990906a6af.tar.gz
The improvements to clock statistics by Tor Egge
Wrappered and enabled by the define BETTER_CLOCK (on by default in smpyests.h) apic_vector.s also contains a small change I (smp) made to eliminate the double level INT problem. It seems stable, but I haven't the tools in place to prove it fixes the problem. Reviewed by: smp@csn.net Submitted by: Tor Egge <Tor.Egge@idi.ntnu.no>
Diffstat (limited to 'sys/i386/isa/intr_machdep.h')
-rw-r--r--sys/i386/isa/intr_machdep.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/i386/isa/intr_machdep.h b/sys/i386/isa/intr_machdep.h
index 6df8f3a..81a875f 100644
--- a/sys/i386/isa/intr_machdep.h
+++ b/sys/i386/isa/intr_machdep.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa_device.h 7.1 (Berkeley) 5/9/91
- * $Id: intr_machdep.h,v 1.10 1997/08/29 18:37:23 smp Exp smp $
+ * $Id: intr_machdep.h,v 1.7 1997/08/29 18:45:21 fsmp Exp $
*/
#ifndef _I386_ISA_INTR_MACHDEP_H_
@@ -107,6 +107,12 @@
/* TLB shootdowns */
#define XINVLTLB_OFFSET (ICU_OFFSET + 112)
+#ifdef BETTER_CLOCK
+/* inter-cpu clock handling */
+#define XCPUCHECKSTATE_OFFSET (ICU_OFFSET + 113)
+#define XCPUAST_OFFSET (ICU_OFFSET + 114)
+#endif
+
/* IPI to signal CPUs to stop and wait for another CPU to restart them */
#define XCPUSTOP_OFFSET (ICU_OFFSET + 128)
@@ -160,6 +166,10 @@ inthand_t
inthand_t
Xinvltlb, /* TLB shootdowns */
+#ifdef BETTER_CLOCK
+ Xcpucheckstate, /* Check cpu state */
+ Xcpuast, /* Additional software trap on other cpu */
+#endif
Xcpustop, /* CPU stops & waits for another CPU to restart it */
Xspuriousint; /* handle APIC "spurious INTs" */
OpenPOWER on IntegriCloud