From 03a798a3fdddd59a4b02352e07c2dc366ad44dc8 Mon Sep 17 00:00:00 2001 From: mjacob Date: Sat, 20 Sep 1997 19:02:34 +0000 Subject: [PATCH] Add some defines for alpha interrupt types. --- sys/arch/alpha/include/alpha_cpu.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/sys/arch/alpha/include/alpha_cpu.h b/sys/arch/alpha/include/alpha_cpu.h index d43ae6a3bc64..6639cbbf1e10 100644 --- a/sys/arch/alpha/include/alpha_cpu.h +++ b/sys/arch/alpha/include/alpha_cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: alpha_cpu.h,v 1.14 1997/09/17 23:33:28 thorpej Exp $ */ +/* $NetBSD: alpha_cpu.h,v 1.15 1997/09/20 19:02:34 mjacob Exp $ */ /* * Copyright (c) 1996 Carnegie-Mellon University. @@ -109,6 +109,17 @@ struct alpha_pcb { #define ALPHA_PSL_USERSET ALPHA_PSL_USERMODE #define ALPHA_PSL_USERCLR (ALPHA_PSL_MUST_BE_ZERO | ALPHA_PSL_IPL_MASK) +/* + * Interrupt Type Code Definitions [OSF/1 PALcode Specific] + */ + +#define ALPHA_INTR_XPROC 0 /* interprocessor interrupt */ +#define ALPHA_INTR_CLOCK 1 /* clock interrupt */ +#define ALPHA_INTR_ERROR 2 /* correctable error or mcheck */ +#define ALPHA_INTR_DEVICE 3 /* device interrupt */ +#define ALPHA_INTR_PERF 4 /* performance counter */ +#define ALPHA_INTR_PASSIVE 5 /* passive release */ + /* * Machine Check Error Summary Register definitions [OSF/1 PALcode Specific] *