From a391e8bea685cce546f6901022a6229cf820c8d6 Mon Sep 17 00:00:00 2001 From: uwe Date: Sun, 29 Dec 2002 02:47:07 +0000 Subject: [PATCH] Add sh7709 INTEVT2 codes for IRQs, PINTs, IRDA and ADC. --- sys/arch/sh3/include/exception.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/sys/arch/sh3/include/exception.h b/sys/arch/sh3/include/exception.h index 498a19727c37..57d4d3db3e2e 100644 --- a/sys/arch/sh3/include/exception.h +++ b/sys/arch/sh3/include/exception.h @@ -1,4 +1,4 @@ -/* $NetBSD: exception.h,v 1.3 2002/05/09 12:24:20 uch Exp $ */ +/* $NetBSD: exception.h,v 1.4 2002/12/29 02:47:07 uwe Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -106,12 +106,27 @@ #define SH4_INTEVT_SCIF_BRI 0x740 #define SH4_INTEVT_SCIF_TXI 0x760 +#define SH7709_INTEVT2_IRQ0 0x600 +#define SH7709_INTEVT2_IRQ1 0x620 +#define SH7709_INTEVT2_IRQ2 0x640 +#define SH7709_INTEVT2_IRQ3 0x660 +#define SH7709_INTEVT2_IRQ4 0x680 +#define SH7709_INTEVT2_IRQ5 0x6a0 + +#define SH7709_INTEVT2_PINT07 0x700 +#define SH7709_INTEVT2_PINT8F 0x720 + +#define SH7709_INTEVT2_IRDA_ERI 0x880 +#define SH7709_INTEVT2_IRDA_RXI 0x8a0 +#define SH7709_INTEVT2_IRDA_BRI 0x8c0 +#define SH7709_INTEVT2_IRDA_TXI 0x8e0 + #define SH7709_INTEVT2_SCIF_ERI 0x900 #define SH7709_INTEVT2_SCIF_RXI 0x920 #define SH7709_INTEVT2_SCIF_BRI 0x940 #define SH7709_INTEVT2_SCIF_TXI 0x960 -#define SH7709_INTEVT2_IRQ4 0x680 +#define SH7709_INTEVT2_ADC 0x980 #ifndef _LOCORE #if defined(SH3) && defined(SH4)