[coreboot] [PATCH] more Kconfig default fixes
stepan at coresystems.de
Tue Oct 13 16:30:11 CEST 2009
Myles Watson schrieb:
> On Mon, Oct 12, 2009 at 9:47 PM, ron minnich <rminnich at gmail.com
> <mailto:rminnich at gmail.com>> wrote:
> On Mon, Oct 12, 2009 at 8:45 PM, Myles Watson <mylesgw at gmail.com
> <mailto:mylesgw at 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)
More information about the coreboot