You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked the implementation of _coroutine_begin and _coroutine_setcontext in coroutine_context.s and it appears that _coroutine_begin uses x9 as return address and _coroutine_setcontext uses x30.
Why is that necessary?
The text was updated successfully, but these errors were encountered:
_coroutine_begin and _coroutine_setcontext are almost the same, but _coroutine_begin will set the lr register to 0, it can make your debug stack more clear
I checked the implementation of
_coroutine_begin
and_coroutine_setcontext
incoroutine_context.s
and it appears that_coroutine_begin
usesx9
as return address and_coroutine_setcontext
usesx30
.Why is that necessary?
The text was updated successfully, but these errors were encountered: