Displaying 2 results from an estimated 2 matches for "__continue_coroutine".
2011 Jul 28
4
[LLVMdev] [RFC] Coroutines
...l stack space, calling into
__generic_morestack_set_initial_sp (in libgcc) and then finally calling
into the "main" function for that coroutine. Once the "main" function
returns, a cleanup routine frees the stack.
Before calling the "main" function, it also sets w0 to __continue_coroutine.
In this state:
w1 contains a pointer to the "main" function
w2 contains a pointer that is passed as an argument to the "main" function
w3 contains the initial stack size.
B. The coroutine has already been invoked once:
w0 is set to __continue_coroutine. __continue_coroutine...
2011 Aug 04
0
[LLVMdev] [RFC] Coroutines
...nto
> __generic_morestack_set_initial_sp (in libgcc) and then finally calling
> into the "main" function for that coroutine. Once the "main" function
> returns, a cleanup routine frees the stack.
>
> Before calling the "main" function, it also sets w0 to __continue_coroutine.
>
> In this state:
>
> w1 contains a pointer to the "main" function
> w2 contains a pointer that is passed as an argument to the "main" function
> w3 contains the initial stack size.
>
> B. The coroutine has already been invoked once:
>
> w0 is set...