summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>2000-03-31 04:16:35 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>2000-03-31 04:16:35 +0000
commitb7340c2d9802fd436723639e4f564e5186ec1f1d (patch)
tree0c1e058b5ae30798d389ca6e2aeafbd5facfeb8a /sys
parent4c95de875faff8d2210f94140ef007efc25d0da9 (diff)
add support for intrcnt from "C", make CLK_IRQ available
to count clock interrupts.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/include/intr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h
index 0e6f948b670..5cc731aa217 100644
--- a/sys/arch/powerpc/include/intr.h
+++ b/sys/arch/powerpc/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.4 1999/11/09 04:13:54 rahnds Exp $ */
+/* $OpenBSD: intr.h,v 1.5 2000/03/31 04:16:34 rahnds Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA.
@@ -50,6 +50,10 @@
#ifndef _LOCORE
+#define PPC_NIRQ 65
+#define PPC_CLK_IRQ 64
+extern int intrcnt[PPC_NIRQ];
+
void setsoftclock __P((void));
void clearsoftclock __P((void));
int splsoftclock __P((void));