This is the mail archive of the ecos-discuss@sources.redhat.com 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]

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


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


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