xref: /freebsd/sys/i386/linux/linux_genassym.c (revision 8f9635dc99f571a0ae4e613b9a0439e68da7b160)
127e0099cSDavid E. O'Brien #include <sys/cdefs.h>
227e0099cSDavid E. O'Brien __FBSDID("$FreeBSD$");
3f9a4e5c5SBruce Evans 
4d66a5066SPeter Wemm #include <sys/param.h>
57eed7188SBruce Evans #include <sys/assym.h>
64db068aaSBruce Evans #include <sys/systm.h>
7f9a4e5c5SBruce Evans 
8d66a5066SPeter Wemm #include <i386/linux/linux.h>
9bdc37934SDmitry Chagin #include <compat/linux/linux_mib.h>
10d66a5066SPeter Wemm 
1121f24617SDmitry Chagin #include <x86/linux/linux_x86_sigframe.h>
1221f24617SDmitry Chagin 
135002a60fSMarcel Moolenaar ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));
146e826d27SDmitry Chagin ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_uc));
159dee707cSKonstantin Belousov ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));
16*8f9635dcSDmitry Chagin ASSYM(L_SC_GS, offsetof(struct l_sigcontext, sc_gs));
17*8f9635dcSDmitry Chagin ASSYM(L_SC_FS, offsetof(struct l_sigcontext, sc_fs));
18*8f9635dcSDmitry Chagin ASSYM(L_SC_ES, offsetof(struct l_sigcontext, sc_es));
19*8f9635dcSDmitry Chagin ASSYM(L_SC_DS, offsetof(struct l_sigcontext, sc_ds));
20*8f9635dcSDmitry Chagin ASSYM(L_SC_CS, offsetof(struct l_sigcontext, sc_cs));
21*8f9635dcSDmitry Chagin ASSYM(L_SC_SS, offsetof(struct l_sigcontext, sc_ss));
22*8f9635dcSDmitry Chagin ASSYM(L_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags));
23*8f9635dcSDmitry Chagin ASSYM(L_SC_EDI, offsetof(struct l_sigcontext, sc_edi));
24*8f9635dcSDmitry Chagin ASSYM(L_SC_ESI, offsetof(struct l_sigcontext, sc_esi));
25*8f9635dcSDmitry Chagin ASSYM(L_SC_EBP, offsetof(struct l_sigcontext, sc_ebp));
26*8f9635dcSDmitry Chagin ASSYM(L_SC_EBX, offsetof(struct l_sigcontext, sc_ebx));
27*8f9635dcSDmitry Chagin ASSYM(L_SC_EDX, offsetof(struct l_sigcontext, sc_edx));
28*8f9635dcSDmitry Chagin ASSYM(L_SC_ECX, offsetof(struct l_sigcontext, sc_ecx));
29*8f9635dcSDmitry Chagin ASSYM(L_SC_EAX, offsetof(struct l_sigcontext, sc_eax));
30*8f9635dcSDmitry Chagin ASSYM(L_SC_EIP, offsetof(struct l_sigcontext, sc_eip));
31*8f9635dcSDmitry Chagin ASSYM(L_SC_ESP, offsetof(struct l_sigcontext, sc_esp_at_signal));
32bdc37934SDmitry Chagin ASSYM(LINUX_VERSION_CODE, LINUX_VERSION_CODE);
33