Date: Fri, 20 Sep 2002 20:51:47 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 17824 for review Message-ID: <200209210351.g8L3pltb013285@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17824 Change 17824 by peter@peter_daintree on 2002/09/20 20:51:31 kill old signal frame support. It's not happening folks. Affected files ... .. //depot/projects/hammer/sys/x86_64/include/sigframe.h#2 edit .. //depot/projects/hammer/sys/x86_64/include/signal.h#2 edit Differences ... ==== //depot/projects/hammer/sys/x86_64/include/sigframe.h#2 (text+ko) ==== @@ -34,43 +34,6 @@ /* * Signal frames, arguments passed to application signal handlers. */ -#ifdef _KERNEL -struct osigframe { - /* - * The first four members may be used by applications. - */ - - register_t sf_signum; - - /* - * Either 'int' for old-style FreeBSD handler or 'siginfo_t *' - * pointing to sf_siginfo for SA_SIGINFO handlers. - */ - register_t sf_arg2; - - /* Points to sf_siginfo.si_sc. */ - register_t sf_scp; - - register_t sf_addr; - - /* - * The following arguments are not constrained by the - * function call protocol. - * Applications are not supposed to access these members, - * except using the pointers we provide in the first three - * arguments. - */ - - union { - __osiginfohandler_t *sf_action; - __sighandler_t *sf_handler; - } sf_ahu; - - /* In the SA_SIGINFO case, sf_arg2 points here. */ - osiginfo_t sf_siginfo; -}; -#endif - struct sigframe { /* * The first four members may be used by applications. ==== //depot/projects/hammer/sys/x86_64/include/signal.h#2 (text+ko) ==== @@ -56,7 +56,6 @@ /* * Only the kernel should need these old type definitions. */ -#ifdef _KERNEL /* * Information pushed on stack when a signal is delivered. * This is used by the kernel to restore state following @@ -64,33 +63,6 @@ * to the handler to allow it to restore state properly if * a non-standard exit is performed. */ -typedef unsigned int osigset_t; - -struct osigcontext { - int sc_onstack; /* sigstack state to restore */ - osigset_t sc_mask; /* signal mask to restore */ - int sc_esp; /* machine state follows: */ - int sc_ebp; - int sc_isp; - int sc_eip; - int sc_efl; - int sc_es; - int sc_ds; - int sc_cs; - int sc_ss; - int sc_edi; - int sc_esi; - int sc_ebx; - int sc_edx; - int sc_ecx; - int sc_eax; - int sc_gs; - int sc_fs; - int sc_trapno; - int sc_err; -}; -#endif - /* * The sequence of the fields/registers in struct sigcontext should match * those in mcontext_t. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209210351.g8L3pltb013285>