Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / lib / libc / amd64 / sys / asmcontext.c
1 /* $DragonFly: src/lib/libc/amd64/sys/asmcontext.c,v 1.1 2007/08/21 19:49:10 corecode Exp $ */
2
3 #define _KERNEL_STRUCTURES
4 #include <sys/types.h>
5 #include <sys/ucontext.h>
6 #include <sys/assym.h>
7 #include <stddef.h>
8
9 ASSYM(UC_SIGMASK, offsetof(ucontext_t, uc_sigmask));
10 ASSYM(UC_MCONTEXT, offsetof(ucontext_t, uc_mcontext));
11 ASSYM(SIG_BLOCK, SIG_BLOCK);
12 ASSYM(SIG_SETMASK, SIG_SETMASK);
13 ASSYM(MC_LEN, offsetof(mcontext_t, mc_len));
14 ASSYM(SIZEOF_MCONTEXT_T, sizeof(mcontext_t));