[coreboot] [PATCH] v3: determine global variable location

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Oct 15 12:09:18 CEST 2008


On 15.10.2008 04:54, ron minnich wrote:
> return (void *) CONFIG_RAM_STACK_LOCATION;
>
> not quite right? CONFIG_RAM_STACK_LOCATION; + CONFIG_RAM_STACK_SIZE -4?
>   

Actually, that was intentional. You see, we haven't decided on the
meaning of the RAM_STACK_LOCATION constant/variable yet. We could very
well declare it to be the initial %esp for RAM stacks. Then again, we
could also decide that the stack shall be at the top of available RAM,
and that would require us to use a variable.

You supply the meaning of the variable, I'll make sure the code matches.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list