Myles Watson schrieb:


On Mon, Oct 12, 2009 at 9:47 PM, ron minnich <rminn...@gmail.com <mailto:rminn...@gmail.com>> wrote:

    On Mon, Oct 12, 2009 at 8:45 PM, Myles Watson <myle...@gmail.com
    <mailto:myle...@gmail.com>> wrote:

    > The reason we're back on this topic is because we're having
    trouble nailing
    > down the correct values for CONFIG_STACK and CONFIG_HEAP.  I
    just noticed
    > that they don't actually matter in CAR, so we have RAM by the
    time we even
    > check those values.

    understood. OK, let's move along :-)


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.
The plan might also be to drop malloc completely and replace it with more distinct memory areas. malloc has a strong touch of unpredictability.

I guess in CAR we don't have much of a heap to run into, so everything is on the stack?
Yes. (More or less)

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to