[okl4-developer] Sigma0 stack initialization

Subcommander l0r3zz l0r3zz at gmail.com
Fri Jan 25 12:01:56 EST 2008


While studying the Sigma0 code, there is something I don't quite
understand...


uintptr_t _stack[128];
void * _stack_top = (void*) &_stack[255];



OK an array of 128 unsigned int pointer;

but then why are you taking the address of _stack[255] and not  &
_stack[127]  ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080124/1e5af5e2/attachment.htm 


More information about the Developer mailing list