[coreboot] Question about STACK_SIZE

Marc Jones marcj303 at gmail.com
Thu May 2 17:15:07 CEST 2013


Hi Aaron,

On Thu, May 2, 2013 at 8:32 AM, Aaron Durbin <adurbin at chromium.org> wrote:
> Hi folks,
>
> I am wondering why the ramstage stack size is so large on a lot of boards:
>
> $ grep -A 3 -r STACK_SIZE src/* | grep Kconfig | grep default | awk '{
> print $NF }' | sort | uniq -c | sort -r -n
>      16 0x10000
>       2 0x2000
>       2 0x1000
>       1 0x20000
>
> Is this just an artifact of copy-n-paste? What is driving the
> requirement for such large stack sizes?

I suspect that it is some copy and paste. Some of the AMD Fam10 and
Fam15 have large stacks for stacks for each core (which may or maynot
need to be as large as they are).

Marc


>
> Thanks.
>
> -Aaron
>
> --
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot



--
http://se-eng.com



More information about the coreboot mailing list