This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
eCos interrupt handling
- From: Wilson Tsao <Wilson dot Tsao at iteusa dot com>
- To: ecos-discuss at sourceware dot org
- Date: Mon, 3 Oct 2005 11:54:28 -0700
- Subject: [ECOS] eCos interrupt handling
Hi,
I am porting eCos to my company's own platform. We are using MIPS 4KEp as
our processor.
I modified some of the HAL files to fit our processor. But I found some
problems regrading the interuupt
handling. Very likely the problems are caused by my modifications.
In my interrupt DSR, it writes mailbox to wake up a thread which is waiting
for mailbox event. But I saw
the thread is waken up and running while HAL default interrupt VSR is not
returned yet (eret is not called yet).
I thought the scheduler should decide which thread to run after the whole
interrupt is completed, includes
HAL default VSR, ISR, DSR, and restore_state. Can someone give me some
directions what could go wrong?
Thanks a lot,
Wilson
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss