This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: New memory region
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Ruchika Singh <rusingh at ecs dot umass dot edu>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 28 Oct 2005 09:33:13 -0600
- Subject: Re: [ECOS] New memory region
- References: <twig.1130513360.75766@ecs.umass.edu>
On Fri, 2005-10-28 at 15:29 +0000, Ruchika Singh wrote:
> Hi All:
>
> I require in my project to create a thread inside the eCos kernel code, like
> perhaps the idle thread. I however want that this thread object and the stack
> for this thread are located in a memory region specified by me.
> I have created this new memory region called 'memSave' by modifying the .h and
> ldi files for my platform. Any insights on how I specify the thread to be in
> this memory region??
Use loader section attributes. For examples, look at how we do
it with the various FLASH driver functions (look for .2ram)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss