From b7340c2d9802fd436723639e4f564e5186ec1f1d Mon Sep 17 00:00:00 2001 From: "Dale S. Rahn" Date: Fri, 31 Mar 2000 04:16:35 +0000 Subject: add support for intrcnt from "C", make CLK_IRQ available to count clock interrupts. --- sys/arch/powerpc/include/intr.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys') 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)); -- cgit v1.2.3