This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Memory map and bss section.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]