This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]