1/* $Id: linux_genassym.c,v 1.5 1997/07/20 16:05:56 bde Exp $ */ 2 |
3#include <stdio.h> |
4 |
5#include <sys/param.h> |
6 |
7#include <i386/linux/linux.h> 8 |
9int main __P((void)); |
10 11int 12main() 13{ 14 struct linux_sigframe *linux_sigf = (struct linux_sigframe *)0; 15 struct linux_sigcontext *linux_sc = (struct linux_sigcontext *)0; 16 17 printf("#define\tLINUX_SIGF_HANDLER %d\n", &linux_sigf->sf_handler); 18 printf("#define\tLINUX_SIGF_SC %d\n", &linux_sigf->sf_sc); 19 printf("#define\tLINUX_SC_FS %d\n", &linux_sc->sc_fs); 20 printf("#define\tLINUX_SC_GS %d\n", &linux_sc->sc_gs); 21 printf("#define\tLINUX_SC_EFLAGS %d\n", &linux_sc->sc_eflags); 22 23 return (0); 24} |