This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]