This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Memory map and bss section.
- To: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: RE: [ECOS] Memory map and bss section.
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Thu, 10 Aug 2000 16:34:05 -0700
Hi,
I think this patch correct the problem.
(It modifies "i386.ld" and "hal_misc.c" where is implemented the zero_bss
function)
Thanks
--
Fabrice Gautier
fabrice_gautier@sdesigns.com
> -----Original Message-----
> From: Fabrice Gautier [mailto:Fabrice_Gautier@sdesigns.com]
> Sent: Thursday, August 10, 2000 3:44 PM
> To: Ecos-List (E-mail)
> Subject: [ECOS] Memory map and bss section.
>
>
> Hi,
>
> Currently at startup, the hal_zero_bss function zeroes everything from
> _bss_start to _end, which is very bad if you try to declare a
> new region in
> the memory map placed after the .bss section.
>
> It should just zeros from _bss_start to _bss_end (that doesn't exist)
>
> By the way, where does the malloc memory pool use is memory ?
> And, in the 386-pc platform does eCos is aware of BIOS or
> Video memory zones
> ?
> Shouldn't they be declared in the memory map?
>
> Thanks
> --
> Fabrice Gautier
> fabrice_gautier@sdesigns.com
>
>
>
>
zero_bss_i386.patch