This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Memory Layout
- To: james chen <james_ch1 at sina dot com>
- Subject: RE: [ECOS] Memory Layout
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Wed, 18 Apr 2001 06:24:21 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 18-Apr-2001 james chen wrote:
> Hello,
>
> From memory layout, I find that Redboot( startup in ROM) and
> Applications( startup in RAM ) both share the same memory address and size.
> When I use GDB debugging applications through redboot's gdb stub. Will
> redboot's memory be cracked by Applications? Thanks in advance!
Memory used by RedBoot and "normal" applications do not overlap. The MLT
files imply that they do, but this is because RedBoot is just a ROM
application and the MLT setup is to allow for any application to use all
available resources.
In general, RedBoot uses a chunk of low memory (128k is typical) and
RAM based applications are set up to load just above that and use the
remaining memory.