[coreboot] [PATCH] more Kconfig default fixes
Stefan Reinauer
stepan at coresystems.de
Tue Oct 13 18:26:25 CEST 2009
ron minnich wrote:
> On Tue, Oct 13, 2009 at 8:40 AM, Myles Watson <mylesgw at gmail.com> wrote:
>
>> On Tue, Oct 13, 2009 at 8:59 AM, ron minnich <rminnich at gmail.com> wrote:
>>
>>> 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?
>>>
>> Not for the scratchpad. It's allocated on the stack of the ulzma function.
>>
>
> yes, but I always felt that was fixable.
By making two copies of the code that behave slightly different?
There's no benefit of using heap over using stack, so why bother?
Stefan
More information about the coreboot
mailing list