From: rahnds Date: Fri, 31 Mar 2000 04:16:34 +0000 (+0000) Subject: add support for intrcnt from "C", make CLK_IRQ available X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=267c6cfceeb88eced4a75826be8008505b2b9127;p=openbsd add support for intrcnt from "C", make CLK_IRQ available to count clock interrupts. --- 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));