[U-Boot-Users] memory allocation

Wolfgang Denk wd at denx.de
Wed Jul 14 22:05:49 CEST 2004


In message <96A7A8B8A8ACBA4DAF7FD558BD32799BF56083 at svex01001> you wrote:
> Is there a (good) reason why the mem_alloc_init for ARM (and some other) targets
> zeroes out the malloc pool?

Paranoia?

BTW: the same is done on other architectures, too.

> This seems very redundant to me. I removed the memset code and didn't run
> into any trouble so far, but maybe I was just lucky.

We do a lot of redundand things that help to improve styability ;-)

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Anything free is worth what you pay for it.




More information about the U-Boot mailing list