Réf : Re: Init of the memory by RTEMS

Joel Sherrill joel.sherrill at OARcorp.com
Wed Dec 9 13:15:38 UTC 2009


On 12/09/2009 06:41 AM, Leonard Bise wrote:
>
> I forgot to mention it.
>
> I'm using RTEMS for the LEON2 platform.
>
Version?
> Also I'm not too sure how to know the address of the workspace or heap?
>
They are next to each other and the linkcmds and symbol
table from your application should give the information.

Where did  you override the RAM size?  The linkcmds
has this:

MEMORY
{
   rom     : ORIGIN = 0x00000000, LENGTH = 256M
   ram     : ORIGIN = 0x40000000, LENGTH = 1024M
}

And the start.S zeroes out the BSS from "_edata"
to "_end".

The addresses you mentioned will be part of the
unused memory from after the bss until the end of ram
and since you didn't tell the linkcmds or RTEMS about them,
they will be put in either the Workspace or C Program Heap
and used by something.



--joel

> Léonard.
>
>
>
> *Sebastian Huber <sebastian.huber at embedded-brains.de>*
>
> 09.12.2009 11:31
>
> 	
> A
> 	Leonard Bise <leonard.bise at syderal.ch>
> cc
> 	rtems-users at rtems.org
> Objet
> 	Re: Init of the memory by RTEMS
>
>
>
> 	
>
>
>
>
>
> Hi,
>
> which BSP do you use? Is the memory address 0x401E7000 part of the 
> workspace or
> heap?
>
> CU
>
> -- 
> Sebastian Huber, embedded brains GmbH
>
> Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
> Phone   : +49 89 18 90 80 79-6
> Fax     : +49 89 18 90 80 79-9
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>




More information about the users mailing list