From 267c6cfceeb88eced4a75826be8008505b2b9127 Mon Sep 17 00:00:00 2001 From: rahnds Date: Fri, 31 Mar 2000 04:16:34 +0000 Subject: [PATCH] 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(-) 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)); -- 2.20.1