public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: eCos ARM Context_Switch
       [not found] <000c01c04880$15f20450$3f00000a@qiujia>
@ 2000-11-06 22:51 ` Jonathan Larmour
  0 siblings, 0 replies; only message in thread
From: Jonathan Larmour @ 2000-11-06 22:51 UTC (permalink / raw)
  To: Shinest; +Cc: eCos discussion

> Shinest wrote:
> 
> Hi,
>     When I read the eCos ARM Context Switch code, I never find any
> instruction as stmdf sp!, {sp, lr}^ . So I can't understand how the code
> save all of the user mode register under the privileged mode.

Um, hal_thread_switch_context? Or are you worried about the mode the
processor is in? eCos always runs in supervisor mode. Even when it takes an
interrupt, it switches to supervisor mode as soon as it can.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-06 22:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <000c01c04880$15f20450$3f00000a@qiujia>
2000-11-06 22:51 ` [ECOS] Re: eCos ARM Context_Switch Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).