Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 19:15:21 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 17800 for review
Message-ID:  <200209210215.g8L2FLqa087039@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209210215.g8L2FLqa087039>