[ECOS] Re: Cortex-M3 interrupt handling & context switching

Keith Ross kross@elands.co.nz
Tue Oct 7 10:28:00 GMT 2008


Hi Simon,

Reading the Cortex-M3 Technical Reference Manual (DDI0337E) it certainly 
would be good idea to use the SVC instruction to cause a context switch. 
For those interested SVC is similar to SWI in other micros. The manual 
has a suggested method for context switch which we should follow. The 
eCos scheduler determines which thread to run and the ARM example code 
would switch it.

Keith

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



More information about the Ecos-discuss mailing list