summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-07-14 18:56:13 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-07-14 18:56:13 +0000
commite7ac75feb95c3c36be55742473e6ec11e821e1e3 (patch)
tree4be6cd40c8b54a3b50e0fef03cd5e73159e7a4fa /sys/arch/powerpc/include
parent657f19a3a9e8853e048179c1f3e98f52a299c47e (diff)
'dual' clock support for macppc, this allows the stat clock to run
at a rate independant of the HZ clock. when profiling is enabled stat clock now runs at 1000/s instead of the normal 100/s. Other improvements to the ppc clock handling and KNF/ansi.
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r--sys/arch/powerpc/include/intr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h
index 3367f3b3798..5ec3f88e499 100644
--- a/sys/arch/powerpc/include/intr.h
+++ b/sys/arch/powerpc/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.21 2002/09/15 09:01:59 deraadt Exp $ */
+/* $OpenBSD: intr.h,v 1.22 2003/07/14 18:56:12 drahn Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA.
@@ -51,8 +51,9 @@
#ifndef _LOCORE
-#define PPC_NIRQ 65
+#define PPC_NIRQ 66
#define PPC_CLK_IRQ 64
+#define PPC_STAT_IRQ 65
extern int intrcnt[PPC_NIRQ];
void setsoftclock(void);