more stack for boot
[minix.git] / include / ucontext.h
blob1c91d309b08691281813db36857aa39216a2488c
1 #ifndef _UCONTEXT_H
2 #define _UCONTEXT_H 1
4 #include <sys/ucontext.h>
6 _PROTOTYPE( void makecontext, (ucontext_t *ucp, void (*func)(void),
7 int argc, ...) );
8 _PROTOTYPE( int swapcontext, (ucontext_t *oucp,
9 const ucontext_t *ucp) );
10 _PROTOTYPE( int getcontext, (ucontext_t *ucp) );
11 _PROTOTYPE( int setcontext, (const ucontext_t *ucp) );
13 _PROTOTYPE( void resumecontext, (ucontext_t *ucp) );
15 /* These functions get and set ucontext structure through PM/kernel. They don't
16 * manipulate the stack. */
17 _PROTOTYPE( int getuctx, (ucontext_t *ucp) );
18 _PROTOTYPE( int setuctx, (const ucontext_t *ucp) );
20 #endif /* _UCONTEXT_H */