689076f8a1586a02f5bc3b3aa9860c57e68ab332
[dragonfly.git] / lib / libc / i386 / sys / asmcontext.c
1 /* $DragonFly: src/lib/libc/i386/sys/asmcontext.c,v 1.1 2007/01/17 02:17:36 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));