- To: "Jesper Skov" <jskov at redhat dot com>
- Subject: Re: 22781
- From: "ilya kovnatsky" <ilya at ptgroupinc dot com>
- Date: Thu, 9 Aug 2001 17:42:00 -0400
- References: <15214.33231.491898.183690@zoftcorp.adsl.dk>
Thanks for the help, it was a not properly setup TLB.
New problem:
The code start running ( 2 threads each has a counter in a loop with a
delay) the counters get to 1
and then it sits in the idle loop.
There are no interupts occuring.
I manualy enabled the decrementer interupt and then both the counters got to
2 and stopped.
which interupt does the scheduler use ?
where in the code does it init the interupts to be used by the scheduler /
task switching?
thanks in advance.
Ilya
----- Original Message -----
From: Jesper Skov <jskov@redhat.com>
To: <bugs@cygnus.com>; <ilya@ptgroupinc.com>
Sent: Monday, August 06, 2001 7:38 AM
Subject: Re: 22781
>
> >I have a board I developed which is almost identical to the FADS
> >board. I have build the toolset and ecos. When ecos is triing to
> >setup the interupt vectors and reads from the SIMASK register, I get
> >a 1200 exception (tlb) eventhough all of the mapping registers are
> >disabled. Note: the excepton occurs in the cyg hal when it calls the
> >UNMASK_INTERUPT routine as soon as it tries to read from the SIMASK
> >register
>
> Maybe because the IMM base is not 0xff000000 as eCos expects. You can
> tell by the value in register 638 (only the 16 MSB bits).
>
> Otherwise I have no idea, sorry. Try asking on the mailing list.
>
> Jesper