From owner-p4-projects Fri Sep 20 20:51:51 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0D0D237B404; Fri, 20 Sep 2002 20:51:48 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2B1537B401 for ; Fri, 20 Sep 2002 20:51:47 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 563F643E65 for ; Fri, 20 Sep 2002 20:51:47 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8L3plCo013288 for ; Fri, 20 Sep 2002 20:51:47 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8L3pltb013285 for perforce@freebsd.org; Fri, 20 Sep 2002 20:51:47 -0700 (PDT) Date: Fri, 20 Sep 2002 20:51:47 -0700 (PDT) Message-Id: <200209210351.g8L3pltb013285@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 17824 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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