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: New memory region


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


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