arm
This commit is contained in:
parent
9aa463c541
commit
2494fc9fa0
2 changed files with 6 additions and 17 deletions
|
|
@ -455,19 +455,6 @@ makecontext(ucontext_t *uc, void (*fn)(void), int argc, ...)
|
|||
uc->uc_mcontext.gregs[14] = (uint)fn;
|
||||
}
|
||||
|
||||
int
|
||||
getcontext(ucontext_t *uc)
|
||||
{
|
||||
return getmcontext(&uc->uc_mcontext);
|
||||
}
|
||||
|
||||
int
|
||||
setcontext(const ucontext_t *uc)
|
||||
{
|
||||
setmcontext(&uc->uc_mcontext);
|
||||
return 0; /* not reached */
|
||||
}
|
||||
|
||||
int
|
||||
swapcontext(ucontext_t *oucp, const ucontext_t *ucp)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue