Path: blob/main/sys/amd64/linux32/linux32_genassym.c
39507 views
#include <sys/param.h>1#include <sys/systm.h>2#include <sys/assym.h>3#include <sys/resource.h>45#include <amd64/linux32/linux.h>6#include <compat/linux/linux_mib.h>78#include <x86/linux/linux_x86_sigframe.h>910ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));11ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_uc));12ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));13ASSYM(L_SC_GS, offsetof(struct l_sigcontext, sc_gs));14ASSYM(L_SC_FS, offsetof(struct l_sigcontext, sc_fs));15ASSYM(L_SC_ES, offsetof(struct l_sigcontext, sc_es));16ASSYM(L_SC_DS, offsetof(struct l_sigcontext, sc_ds));17ASSYM(L_SC_CS, offsetof(struct l_sigcontext, sc_cs));18ASSYM(L_SC_SS, offsetof(struct l_sigcontext, sc_ss));19ASSYM(L_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags));20ASSYM(L_SC_EDI, offsetof(struct l_sigcontext, sc_edi));21ASSYM(L_SC_ESI, offsetof(struct l_sigcontext, sc_esi));22ASSYM(L_SC_EBP, offsetof(struct l_sigcontext, sc_ebp));23ASSYM(L_SC_EBX, offsetof(struct l_sigcontext, sc_ebx));24ASSYM(L_SC_EDX, offsetof(struct l_sigcontext, sc_edx));25ASSYM(L_SC_ECX, offsetof(struct l_sigcontext, sc_ecx));26ASSYM(L_SC_EAX, offsetof(struct l_sigcontext, sc_eax));27ASSYM(L_SC_EIP, offsetof(struct l_sigcontext, sc_eip));28ASSYM(L_SC_ESP, offsetof(struct l_sigcontext, sc_esp_at_signal));29ASSYM(LINUX_VERSION_CODE, LINUX_VERSION_CODE);303132