[ECOS] Determine start-end of memory regions at runtime
Ruchika Singh
rusingh@ecs.umass.edu
Wed Sep 28 06:38:00 GMT 2005
I do see __bss_start and __bss_end defined in vectors.S, however I am not sure
how I can find start-end for global/shared data. Also __heap1 is the start of
heap, but is there a way to determine where it ends at any time at runtime??
Will appreciate any inputs.
Fabian Scheler <fabian.scheler@gmail.com> said:
> Hi,
>
> there are defined several constants within the linker script like
> __bss_start or __bss_end, or something like that. Take a look into the
> linker script, you should be able to find these constants easily.
>
> Ciao, Fabian
>
> 2005/9/27, Ruchika Singh <rusingh@ecs.umass.edu>:
> >
> > Hi All:
> >
> > How can I determine at runtime the start/end address of memory sections,
> > rodata,.bss etc.
> >
> > Thanks,
> > -R.
> >
> > --
> > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> >
> >
>
--
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list