This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
sh7751, fix some Interrupt Vector Definitions
- From: Larice Robert <larice at vidisys dot de>
- To: ecos-patches at sources dot redhat dot com
- Date: Wed, 5 Jun 2002 09:12:14 +0200 (CEST)
- Subject: sh7751, fix some Interrupt Vector Definitions
I'd like to contribute a tiny patch to fix some Interrupt Vector definitions
for the hitachi SH7751 cpu.
specification can be found in the sh7751 datasheet
"Section 19 Interrupt Controller (INTC)"
"Table 19.5 Interrupt Exception Handling Sources and Priority Order"
this patch is not board specific, but cpu specific
Robert Larice
--- ecos-orig/packages/hal/sh/sh4/current/include/var_intr.h Fri May 24 01:05:05 2002
+++ ecos/packages/hal/sh/sh4/current/include/var_intr.h Tue Jun 4 08:40:23 2002
@@ -124,8 +124,8 @@
#ifndef CYGHWR_HAL_SH_IRQ_USE_IRQLVL
-# define CYGNUM_HAL_INTERRUPT_IRL0 CYGNUM_HAL_INTERRUPT_LVL0
-# define CYGNUM_HAL_INTERRUPT_IRL1 CYGNUM_HAL_INTERRUPT_LVL1
-# define CYGNUM_HAL_INTERRUPT_IRL2 CYGNUM_HAL_INTERRUPT_LVL2
-# define CYGNUM_HAL_INTERRUPT_IRL3 CYGNUM_HAL_INTERRUPT_LVL3
+# define CYGNUM_HAL_INTERRUPT_IRL0 CYGNUM_HAL_INTERRUPT_LVL2
+# define CYGNUM_HAL_INTERRUPT_IRL1 CYGNUM_HAL_INTERRUPT_LVL5
+# define CYGNUM_HAL_INTERRUPT_IRL2 CYGNUM_HAL_INTERRUPT_LVL8
+# define CYGNUM_HAL_INTERRUPT_IRL3 CYGNUM_HAL_INTERRUPT_LVL11
#endif