From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29358 invoked by alias); 28 Oct 2005 15:33:43 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 29343 invoked by uid 22791); 28 Oct 2005 15:33:37 -0000 Received: from sta-204-188-98-138.rockynet.com (HELO hermes.chez-thomas.org) (204.188.98.138) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 28 Oct 2005 15:33:37 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 6FE0F2C88F21B; Fri, 28 Oct 2005 09:33:15 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 254012C8CF6EB; Fri, 28 Oct 2005 09:33:14 -0600 (MDT) From: Gary Thomas To: Ruchika Singh Cc: eCos Discussion In-Reply-To: References: Content-Type: text/plain Date: Fri, 28 Oct 2005 15:33:00 -0000 Message-Id: <1130513593.5754.137.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] New memory region X-SW-Source: 2005-10/txt/msg00277.txt.bz2 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