mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
2625bd3484
depend on anything outside of the "sys" tree.
24 lines
648 B
C
24 lines
648 B
C
/* $Id: linux_genassym.c,v 1.6 1997/08/25 23:36:23 bde Exp $ */
|
|
|
|
#include <sys/param.h>
|
|
|
|
#include <i386/linux/linux.h>
|
|
|
|
int main __P((void));
|
|
int printf __P((const char *, ...));
|
|
|
|
int
|
|
main()
|
|
{
|
|
struct linux_sigframe *linux_sigf = (struct linux_sigframe *)0;
|
|
struct linux_sigcontext *linux_sc = (struct linux_sigcontext *)0;
|
|
|
|
printf("#define\tLINUX_SIGF_HANDLER %d\n", &linux_sigf->sf_handler);
|
|
printf("#define\tLINUX_SIGF_SC %d\n", &linux_sigf->sf_sc);
|
|
printf("#define\tLINUX_SC_FS %d\n", &linux_sc->sc_fs);
|
|
printf("#define\tLINUX_SC_GS %d\n", &linux_sc->sc_gs);
|
|
printf("#define\tLINUX_SC_EFLAGS %d\n", &linux_sc->sc_eflags);
|
|
|
|
return (0);
|
|
}
|