public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] New memory region
@ 2005-10-28 15:29 Ruchika Singh
  2005-10-28 15:33 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Ruchika Singh @ 2005-10-28 15:29 UTC (permalink / raw)
  To: ecos-discuss

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??

Thanks in advance.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] New memory region
  2005-10-28 15:29 [ECOS] New memory region Ruchika Singh
@ 2005-10-28 15:33 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2005-10-28 15:33 UTC (permalink / raw)
  To: Ruchika Singh; +Cc: eCos Discussion

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-28 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-28 15:29 [ECOS] New memory region Ruchika Singh
2005-10-28 15:33 ` Gary Thomas

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).