Saving 4k idle ram usage for zlib
Jonathan Larmour
jifl@eCosCentric.com
Thu Apr 29 03:51:00 GMT 2004
Bob Koninckx wrote:
> On Sat, 2004-04-24 at 09:10, Ãyvind Harboe wrote:
>
>>lør, 24.04.2004 kl. 08.36 skrev Bob Koninckx:
>>
>>>Depends on how much you can save :-) If you manage to save enough, so
>>>that you can build redboot (including networking support) on a system
>>>with lots of flash but only 26k of RAM (e.g. mpc555), I am certainly
>>>interested.
>>
>>The savings aren't going to come from a single place.
>>
>>How about starting to accept the savings as they are found and then see
>>where we are at regular intervals
>
>
> Sounds like a good idea to me. Shouldn't it be best to make it a
> configuration option, like with CRC checksum tables ?
If something is never going to change, there's no problem marking it const.
If it's initialised data it will be occupying space in Flash anyway - the
question is only whether it occupies space in RAM as well.
Ãyvind, please do feel free to submit a patch to do this. I doubt there
would be any problem accepting it.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
More information about the Ecos-patches
mailing list