* [ECOS] VSR_TABLE
@ 2001-02-27 3:34 Suzuki, RyosIII
2001-02-27 4:00 ` Jesper Skov
0 siblings, 1 reply; 5+ messages in thread
From: Suzuki, RyosIII @ 2001-02-27 3:34 UTC (permalink / raw)
To: ecos-discuss
Hello all,
I realized a problem in current CVS sources about SH4.
SH4 is expanded about exception code, Its vsr_table size is bigger than
SH3's one.
so I changed the source, "packages/hal/sh/arch/current/src/vectors.S", as
following.
288c288
< .long CYG_LABEL_DEFN(hal_vsr_table)+CYGNUM_HAL_VECTOR_INTERRUPT*4
---
> .long
>CYG_LABEL_DEFN(hal_vsr_table)+CYGNUM_HAL_VSR_EXCEPTION_COUNT*4
in orignal source, jump to cyg_hal_default_exception_vsr on SH4 when a
interrupt is occured.
Thank you,
--
Suzuki,Ryouzaburou
ryos@sinby.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ECOS] VSR_TABLE
2001-02-27 3:34 [ECOS] VSR_TABLE Suzuki, RyosIII
@ 2001-02-27 4:00 ` Jesper Skov
2001-02-27 6:24 ` Suzuki, RyosIII
0 siblings, 1 reply; 5+ messages in thread
From: Jesper Skov @ 2001-02-27 4:00 UTC (permalink / raw)
To: Suzuki, RyosIII; +Cc: ecos-discuss
>>>>> "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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ECOS] VSR_TABLE
2001-02-27 4:00 ` Jesper Skov
@ 2001-02-27 6:24 ` Suzuki, RyosIII
2001-02-27 6:29 ` Gary Thomas
0 siblings, 1 reply; 5+ messages in thread
From: Suzuki, RyosIII @ 2001-02-27 6:24 UTC (permalink / raw)
To: ecos-discuss
At 13:00 +0100 2001.02.27, Jesper Skov wrote:
>>>>>> "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.
Thank you very much for your help,
It works.
PS
kaffe/eCos can run on current eCos !!
--
Suzuki,Ryouzaburou
ryos@sinby.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ECOS] VSR_TABLE
2001-02-27 6:24 ` Suzuki, RyosIII
@ 2001-02-27 6:29 ` Gary Thomas
2001-02-27 10:29 ` Jonathan Larmour
0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2001-02-27 6:29 UTC (permalink / raw)
To: Suzuki, RyosIII; +Cc: ecos-discuss
On 27-Feb-2001 Suzuki,RyosIII wrote:
> PS
> kaffe/eCos can run on current eCos !!
Really, how so? Can you provide any pointers so we could try it?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ECOS] VSR_TABLE
2001-02-27 6:29 ` Gary Thomas
@ 2001-02-27 10:29 ` Jonathan Larmour
0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Larmour @ 2001-02-27 10:29 UTC (permalink / raw)
To: Gary Thomas; +Cc: Suzuki, RyosIII, ecos-discuss
Gary Thomas wrote:
>
> On 27-Feb-2001 Suzuki,RyosIII wrote:
> > PS
> > kaffe/eCos can run on current eCos !!
>
> Really, how so? Can you provide any pointers so we could try it?
This is already mentioned at http://sources.redhat.com/ecos/contrib.html
but there are issues with the GPL which means that it cannot be distributed
with eCos.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-02-27 10:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-27 3:34 [ECOS] VSR_TABLE Suzuki, RyosIII
2001-02-27 4:00 ` Jesper Skov
2001-02-27 6:24 ` Suzuki, RyosIII
2001-02-27 6:29 ` Gary Thomas
2001-02-27 10:29 ` Jonathan Larmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).