aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/threadimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/threadimpl.h')
-rw-r--r--src/libthread/threadimpl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
index 9757526e..5be45677 100644
--- a/src/libthread/threadimpl.h
+++ b/src/libthread/threadimpl.h
@@ -42,6 +42,11 @@ extern void makecontext(ucontext_t*, void(*)(), int, ...);
extern pid_t rfork_thread(int, void*, int(*)(void*), void*);
#endif
+#if defined(__arm__)
+int _getmcontext(mcontext_t*);
+void _setmcontext(mcontext_t*);
+#endif
+
typedef struct Context Context;
typedef struct Execjob Execjob;
typedef struct Proc Proc;