[okl4-developer] Sigma0 stack initialization

Geoffrey Lee glee at ok-labs.com
Fri Jan 25 20:42:45 EST 2008


On Thu, Jan 24, 2008 at 05:01:56PM -0800, Subcommander l0r3zz wrote:


Hi

Sigma0 is no longer used in OKL4.

Which release are you using?

	-gl

> 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]  ?

> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer


-- 
Lalalalalalalalala...




More information about the Developer mailing list