[coreboot] [PATCH] more Kconfig default fixes

ron minnich rminnich at gmail.com
Tue Oct 13 16:59:58 CEST 2009


On Mon, Oct 12, 2009 at 8:51 PM, Myles Watson <mylesgw at gmail.com> wrote:

> So I guess the question is how should we make sure the stack and heap are
> sized correctly.  Using malloc to allocate the memory for lzma makes sense,
> but it is used in CAR too, so that complicates our decision.

lzma decompressor gets a void * from the caller. Caller, if CAR, uses
on-stack pointer. RAM code can, if desired,
use malloc'ed memory?

>
> I guess in CAR we don't have much of a heap to run into, so everything is on
> the stack?

yes.

ron




More information about the coreboot mailing list