summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 21:11:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 21:11:13 +0000
commitf30a0ca972585c28c40d36c504bf14d38de5fa16 (patch)
treeb7285621392cab756d6f421ddc022db23c3a5491
parent7ae512513f37ccce1d5beeb4807b5b4b765025d7 (diff)
downloadrtems-f30a0ca972585c28c40d36c504bf14d38de5fa16.tar.bz2
2001-07-25 Radzislaw Galler <rgaller@et.put.poznan.pl>
* cpu.c (_CPU_ISR_install_vector): Corrected interrupt range checking which was SH1 specific. It didn't work for SH2 (has more interrupt sources).
-rw-r--r--c/src/exec/score/cpu/sh/ChangeLog6
-rw-r--r--c/src/exec/score/cpu/sh/cpu.c5
-rw-r--r--cpukit/score/cpu/sh/ChangeLog6
-rw-r--r--cpukit/score/cpu/sh/cpu.c5
4 files changed, 20 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/sh/ChangeLog b/c/src/exec/score/cpu/sh/ChangeLog
index e03228a59c..2e75e8ce33 100644
--- a/c/src/exec/score/cpu/sh/ChangeLog
+++ b/c/src/exec/score/cpu/sh/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-25 Radzislaw Galler <rgaller@et.put.poznan.pl>
+
+ * cpu.c (_CPU_ISR_install_vector): Corrected interrupt range
+ checking which was SH1 specific. It didn't work for SH2 (has more
+ interrupt sources).
+
2001-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, rtems/score/Makefile.am:
diff --git a/c/src/exec/score/cpu/sh/cpu.c b/c/src/exec/score/cpu/sh/cpu.c
index 06f7b9c3d7..eaebb46ac7 100644
--- a/c/src/exec/score/cpu/sh/cpu.c
+++ b/c/src/exec/score/cpu/sh/cpu.c
@@ -158,9 +158,10 @@ void _CPU_ISR_install_vector(
)
{
proc_ptr ignored ;
-
+#if 0
if(( vector <= 113) && ( vector >= 11))
{
+#endif
*old_handler = _ISR_Vector_table[ vector ];
/*
@@ -178,7 +179,9 @@ void _CPU_ISR_install_vector(
*/
_ISR_Vector_table[ vector ] = new_handler;
+#if 0
}
+#endif
}
/*PAGE
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog
index e03228a59c..2e75e8ce33 100644
--- a/cpukit/score/cpu/sh/ChangeLog
+++ b/cpukit/score/cpu/sh/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-25 Radzislaw Galler <rgaller@et.put.poznan.pl>
+
+ * cpu.c (_CPU_ISR_install_vector): Corrected interrupt range
+ checking which was SH1 specific. It didn't work for SH2 (has more
+ interrupt sources).
+
2001-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, rtems/score/Makefile.am:
diff --git a/cpukit/score/cpu/sh/cpu.c b/cpukit/score/cpu/sh/cpu.c
index 06f7b9c3d7..eaebb46ac7 100644
--- a/cpukit/score/cpu/sh/cpu.c
+++ b/cpukit/score/cpu/sh/cpu.c
@@ -158,9 +158,10 @@ void _CPU_ISR_install_vector(
)
{
proc_ptr ignored ;
-
+#if 0
if(( vector <= 113) && ( vector >= 11))
{
+#endif
*old_handler = _ISR_Vector_table[ vector ];
/*
@@ -178,7 +179,9 @@ void _CPU_ISR_install_vector(
*/
_ISR_Vector_table[ vector ] = new_handler;
+#if 0
}
+#endif
}
/*PAGE