On Tue, Sep 09, 2008 at 03:28:12AM +0200, Carl-Daniel Hailfinger wrote:
On 09.09.2008 03:18, Kevin O'Connor wrote:
If I understand the code correctly, the global_vars() function is trying to get at the stack variable globvars declared in stage1_main.
No, that's not what the code does. global_vars() reads the address of globvars from the bottom of stack where that address has been stored. Note the double indirection.
Okay - that makes more sense. Thanks.
-Kevin