artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6594508
)
add support for intrcnt from "C", make CLK_IRQ available
author
rahnds
<rahnds@openbsd.org>
Fri, 31 Mar 2000 04:16:34 +0000
(
04:16
+0000)
committer
rahnds
<rahnds@openbsd.org>
Fri, 31 Mar 2000 04:16:34 +0000
(
04:16
+0000)
to count clock interrupts.
sys/arch/powerpc/include/intr.h
patch
|
blob
|
history
diff --git
a/sys/arch/powerpc/include/intr.h
b/sys/arch/powerpc/include/intr.h
index
0e6f948
..
5cc731a
100644
(file)
--- 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:5
4 rahnds Exp $ */
+/* $OpenBSD: intr.h,v 1.
5 2000/03/31 04:16:3
4 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));