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]

[patch] xscale irq-table


hello,   
   
as written before the interrupt-vector-table in  
arm/arch/current/include/hal_intr.h: hal_interrupt_{handlers|data|objects}  
is to short for the pxa2x0. So you can not append interrupts for the upper  
8 GPIOs (78..85).   
   
I've attached the patch; please apply.   
   
Thanks Daniel   
  
 
 
 

-- 
GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++
diff -rbup ./ecos/packages/hal/arm/xscale/pxa2x0/current/ChangeLog ./ecos-modified/packages/hal/arm/xscale/pxa2x0/current/ChangeLog
--- ./ecos/packages/hal/arm/xscale/pxa2x0/current/ChangeLog	2003-12-05 10:56:58.000000000 +0100
+++ ./ecos-modified/packages/hal/arm/xscale/pxa2x0/current/ChangeLog	2004-09-29 09:57:59.760737384 +0200
@@ -1,3 +1,9 @@
+2004-09-29  Daniel Schmidt  <sc_da@gmx.de>
+
+	* include/hal_var_ints.h: 
+	    Changed value for CYGNUM_HAL_ISR_COUNT to be able
+	    to generate interrupts from GPIO 78-85
+
 2003-12-05  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* include/hal_diag.h: hal_delay_us() is a C function.
diff -rbup ./ecos/packages/hal/arm/xscale/pxa2x0/current/include/hal_var_ints.h ./ecos-modified/packages/hal/arm/xscale/pxa2x0/current/include/hal_var_ints.h
--- ./ecos/packages/hal/arm/xscale/pxa2x0/current/include/hal_var_ints.h	2003-01-24 19:47:54.000000000 +0100
+++ ./ecos-modified/packages/hal/arm/xscale/pxa2x0/current/include/hal_var_ints.h	2004-09-29 09:51:24.694796536 +0200
@@ -168,7 +168,7 @@
 
 #define CYGNUM_HAL_ISR_MIN			8
 #define CYGNUM_HAL_ISR_MAX			(96+16)
-#define CYGNUM_HAL_ISR_COUNT		(CYGNUM_HAL_ISR_MAX-CYGNUM_HAL_ISR_MIN+1)
+#define CYGNUM_HAL_ISR_COUNT		(CYGNUM_HAL_ISR_MAX+1)
 
 #ifdef CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY
 externC void hal_clock_latency(cyg_uint32 *);

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