From owner-p4-projects Fri Sep 20 19:15:25 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7E81C37B404; Fri, 20 Sep 2002 19:15:22 -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 4171137B401 for ; Fri, 20 Sep 2002 19:15:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00B6F43E65 for ; Fri, 20 Sep 2002 19:15:22 -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 g8L2FLCo087042 for ; Fri, 20 Sep 2002 19:15:21 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8L2FLqa087039 for perforce@freebsd.org; Fri, 20 Sep 2002 19:15:21 -0700 (PDT) Date: Fri, 20 Sep 2002 19:15:21 -0700 (PDT) Message-Id: <200209210215.g8L2FLqa087039@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 17800 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=17800 Change 17800 by peter@peter_daintree on 2002/09/20 19:14:31 nuke osigcode Affected files ... .. //depot/projects/hammer/sys/x86_64/include/md_var.h#2 edit .. //depot/projects/hammer/sys/x86_64/x86_64/locore.s#2 edit Differences ... ==== //depot/projects/hammer/sys/x86_64/include/md_var.h#2 (text+ko) ==== @@ -56,7 +56,7 @@ #endif extern void (*ovbcopy_vector)(const void *from, void *to, size_t len); extern char sigcode[]; -extern int szsigcode, szosigcode; +extern int szsigcode; typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); struct thread; ==== //depot/projects/hammer/sys/x86_64/x86_64/locore.s#2 (text+ko) ==== @@ -406,33 +406,13 @@ int $0x80 /* enter kernel with args */ 0: jmp 0b -#ifdef COMPAT_43 - ALIGN_TEXT -osigcode: - call *SIGF_HANDLER(%esp) /* call signal handler */ - lea SIGF_SC(%esp),%eax /* get sigcontext */ - pushl %eax - testl $PSL_VM,SC_PS(%eax) - jne 9f - movl SC_GS(%eax),%gs /* restore %gs */ -9: - movl $SYS_osigreturn,%eax - pushl %eax /* junk to fake return addr. */ - int $0x80 /* enter kernel with args */ -0: jmp 0b -#endif /* COMPAT_43 */ - ALIGN_TEXT esigcode: .data - .globl szsigcode, szosigcode + .globl szsigcode szsigcode: .long esigcode-sigcode -#ifdef COMPAT_43 -szosigcode: - .long esigcode-osigcode -#endif .text /********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message