From f30a0ca972585c28c40d36c504bf14d38de5fa16 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 16 Aug 2001 21:11:13 +0000 Subject: 2001-07-25 Radzislaw Galler * cpu.c (_CPU_ISR_install_vector): Corrected interrupt range checking which was SH1 specific. It didn't work for SH2 (has more interrupt sources). --- c/src/exec/score/cpu/sh/cpu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'c/src/exec/score/cpu/sh/cpu.c') 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 -- cgit v1.2.3