[ECOS] VSR_TABLE
Jesper Skov
jskov@redhat.com
Tue Feb 27 04:00:00 GMT 2001
>>>>> "Suzuki,RyosIII" == Suzuki,RyosIII <ryos@sinby.com> writes:
Suzuki,RyosIII> in orignal source, jump to
Suzuki,RyosIII> cyg_hal_default_exception_vsr on SH4 when a interrupt
Suzuki,RyosIII> is occured.
Yes, but your fix is wrong. Try the below with your platform.
Jesper
Index: ChangeLog
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/hal/sh/cq7750/current/ChangeLog,v
retrieving revision 1.7
diff -u -5 -r1.7 ChangeLog
--- ChangeLog 2001/01/31 16:38:07 1.7
+++ ChangeLog 2001/02/27 11:58:57
@@ -1,5 +1,9 @@
+2001-02-27 Jesper Skov <jskov@redhat.com>
+
+ * include/platform.inc: Init correct vector with interrupt VSR.
+
2001-01-31 Jesper Skov <jskov@redhat.com>
* src/hal_diag.c: Included private parts of serial driver.
2001-01-26 Jesper Skov <jskov@redhat.com>
Index: include/platform.inc
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/hal/sh/cq7750/current/include/platform.inc,v
retrieving revision 1.4
diff -u -5 -r1.4 platform.inc
--- include/platform.inc 2001/01/23 09:35:48 1.4
+++ include/platform.inc 2001/02/27 11:59:35
@@ -174,10 +174,12 @@
add #4,r3
dt r5
bf 1b
# Write interrupt vector
mov.l $cyg_hal_default_interrupt_vsr,r4
+ mov.l $hal_vsr_table,r3
+ add #CYGNUM_HAL_VECTOR_INTERRUPT*4,r3
mov.l r4,@r3
bra 2f
nop
.align 2
More information about the Ecos-discuss
mailing list