[okl4-developer] Sigma0 stack initialization
Subcommander l0r3zz
l0r3zz at gmail.com
Sat Jan 26 02:20:52 EST 2008
I'm actually using the current release but I was reading some older
ERTOS/NICTA papers and took a look at the old package. Whether its still
used or not, can you explain the rational behind the code?
On Jan 25, 2008 1:42 AM, Geoffrey Lee <glee at ok-labs.com> wrote:
> 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...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080125/d83ddc6e/attachment.htm
More information about the Developer
mailing list