head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.54
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.52
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.50
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.48
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.46
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.44
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.42
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.40
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.2.0.38
	pkgsrc-2008Q2-base:1.2
	pkgsrc-2008Q1:1.2.0.36
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.34
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.32
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.30
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.28
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.26
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.24
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.2.0.22
	pkgsrc-2006Q2-base:1.2
	pkgsrc-2006Q1:1.2.0.20
	pkgsrc-2006Q1-base:1.2
	pkgsrc-2005Q4:1.2.0.18
	pkgsrc-2005Q4-base:1.2
	pkgsrc-2005Q3:1.2.0.16
	pkgsrc-2005Q3-base:1.2
	pkgsrc-2005Q2:1.2.0.14
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.12
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.2.0.10
	pkgsrc-2004Q4-base:1.2
	pkgsrc-2004Q3:1.2.0.8
	pkgsrc-2004Q3-base:1.2
	pkgsrc-2004Q2:1.2.0.6
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	buildlink2-base:1.2
	comdex-fall-1999:1.1;
locks; strict;
comment	@# @;


1.2
date	2000.02.15.04.46.29;	author bad;	state dead;
branches;
next	1.1;

1.1
date	99.08.03.20.30.41;	author bad;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update mysql to 3.22.32.

This includes a security fix for the remote password checking protocol.

Other wise it's just the regular bunch of bugfixes.  See appendix D of
the manual.
@
text
@$NetBSD: patch-bg,v 1.1 1999/08/03 20:30:41 bad Exp $

--- /dev/null	Fri Jul 30 03:20:45 1999
+++ mit-pthreads/machdep/syscall-m68000-netbsd.S	Fri Jul 30 23:23:08 1999
@@@@ -0,0 +1,83 @@@@
+
+#ifndef lint
+    .text
+    .asciz "$Id: patch-bg,v 1.1 1999/08/03 20:30:41 bad Exp $";
+#endif
+
+#include <machine/asm.h>
+#include <sys/syscall.h>
+
+#ifdef __STDC__
+#define IMM	#
+#define SYSCALL(x)      .even; ENTRY(machdep_sys_ ## x); \
+                        movl IMM SYS_ ## x,d0; trap IMM 0; jcs err; rts
+#else /* !__STDC__ */
+#define SYSCALL(x)      .even; ENTRY(machdep_sys_/**/x); \
+                        movl #SYS_/**/x,d0; trap #0; jcs err; rts
+#endif /* !__STDC__ */
+
+/*
+ * Initial asm stuff for all functions.
+ */
+        .text
+        .even
+
+
+/* ==========================================================================
+ * error code for all syscalls. The error value is returned as the negative
+ * of the errno value.
+ */
+
+err:
+        negl            d0
+        rts
+
+/* ==========================================================================
+ * machdep_sys_pipe
+ */
+	.even
+ENTRY(machdep_sys_pipe);
+	movl #SYS_pipe,d0
+	trap #0
+	jcs 	err
+	movl	sp@@(4),a0
+	movl	d0,a0@@+
+	movl	d1,a0@@
+	clrl	d0
+	rts
+
+#ifndef SYS___sigsuspend14
+	.even
+ENTRY(machdep_sys_sigsuspend)
+	movl	sp@@(4),a0
+	movl	a0@@,sp@@(4)
+	movl	#SYS_compat_13_sigsuspend13,d0
+	trap	#0
+	jcs	err
+	clrl	d0
+	rts
+#endif
+
+#ifndef SYS___sigprocmask14
+	.even
+ENTRY(machdep_sys_sigprocmask)
+	tstl	sp@@(8)
+	jne	gotptr
+/*	movl	#0,sp@@(8)	/* null mask pointer; block empty set */
+	movl	#1,sp@@(4)	
+	jra	doit
+gotptr:
+	movl	sp@@(8),a0
+	movl	a0@@,sp@@(8)
+doit:
+	movl	#SYS_compat_13_sigprocmask13,d0
+	trap	#0
+	jcs	err
+	tstl	sp@@(12)
+	jeq	out
+	movl	sp@@(12),a0
+	movl	d0,a0@@
+out:
+	clrl	d0
+	rts
+#endif
@


1.1
log
@Add support for m68k machines.  Patches by Andy Finnell.

Thanks to Greg Oster for testing.
@
text
@d1 1
a1 1
$NetBSD$
d9 1
a9 1
+    .asciz "$Id: syscall.S,v 1.1 1997/04/13 17:13:09 briggs Exp $";
@

