[ECOS] why need to call Cyg_Scheduler::get_current_thread()->set_saved_context(regs) in interrupt_end()?

Qiang Huang jameshq@liverpool.ac.uk
Tue Oct 1 09:28:00 GMT 2002


Q1:
Is the context for the thread is saved by the calling to the pending dsr()?
so will those context save be overlapped? or maybe I went to the wrong way.
Thanks

Q2:
If this is needed in interrupt_end() so when I implememting the assembly
code for interrupt handling which context do I need to save? context in the
interrupt or the context before entering the interrupt?

Thanks a lot


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list