try arm again
This commit is contained in:
parent
1e05fdf92c
commit
33a102fc28
@ -437,9 +437,6 @@ _threadpexit(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __arm__
|
#ifdef __arm__
|
||||||
#define setcontext(u) setmcontext(&(u)->uc_mcontext)
|
|
||||||
#define getcontext(u) getmcontext(&(u)->uc_mcontext)
|
|
||||||
|
|
||||||
void
|
void
|
||||||
makecontext(ucontext_t *uc, void (*fn)(void), int argc, ...)
|
makecontext(ucontext_t *uc, void (*fn)(void), int argc, ...)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -42,6 +42,11 @@ extern void makecontext(ucontext_t*, void(*)(), int, ...);
|
|||||||
extern pid_t rfork_thread(int, void*, int(*)(void*), void*);
|
extern pid_t rfork_thread(int, void*, int(*)(void*), void*);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__arm__)
|
||||||
|
int _getmcontext(mcontext_t*);
|
||||||
|
void _setmcontext(mcontext_t*);
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct Context Context;
|
typedef struct Context Context;
|
||||||
typedef struct Execjob Execjob;
|
typedef struct Execjob Execjob;
|
||||||
typedef struct Proc Proc;
|
typedef struct Proc Proc;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user