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]

Re: Cortex-M3 interrupt handling & context switching


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


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