[ECOS] Is Redboot run in supervisor mode?

Jonathan Larmour jifl@eCosCentric.com
Thu Jan 30 15:36:00 GMT 2003


Grant Edwards wrote:
> On Thu, Jan 30, 2003 at 11:43:20AM -0000, Qiang Huang wrote:
> 
> 
>>When the platform is configured as Redboot startup and load the ecos app
>>into RAM for debugging, what mode is redboot run in? when loading a ecos app
>>(by redboot) , what is the starting mode of the ecos app(e.g. when comes to
>>the entry point of the ecos app: reset_vector) Thanks a lot
> 
> 
> Depends on the architecture.  It's generally in some sort of
> system/supervisor mode.

I believe Qiang is on ARM in which case it's supervisor (SVC) mode for 
everything. Even on interrupts we switch to SVC mode as soon as we can.

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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



More information about the Ecos-discuss mailing list