This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
interrupt handling
- From: Ashutosh <ashutoshvyas at tataelxsi dot co dot in>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 12 Jul 2004 14:28:31 +0530
- Subject: [ECOS] interrupt handling
- Reply-to: ashutoshvyas at tataelxsi dot co dot in
Dear all,
We had ported eCos on ARM7. I want to know about the context switching
between two threads. When a thread is running and a interrupts occurs, ISR
is executed and after completion of ISR , DSR is posted. When DSR is
executed , and a thread with higher priority is also running, Then context
switch takes place to the highest priority thread. I am not able to
understand how this switching takes places from DSRs.
I have gone through the source code and documents also but could not found
any thing, which can remove my doubts.
Thanks ,
Ashutosh Vyas
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss