head	1.3;
access;
symbols
	pkgsrc-2013Q2:1.3.0.54
	pkgsrc-2013Q2-base:1.3
	pkgsrc-2012Q4:1.3.0.52
	pkgsrc-2012Q4-base:1.3
	pkgsrc-2011Q4:1.3.0.50
	pkgsrc-2011Q4-base:1.3
	pkgsrc-2011Q2:1.3.0.48
	pkgsrc-2011Q2-base:1.3
	pkgsrc-2009Q4:1.3.0.46
	pkgsrc-2009Q4-base:1.3
	pkgsrc-2008Q4:1.3.0.44
	pkgsrc-2008Q4-base:1.3
	pkgsrc-2008Q3:1.3.0.42
	pkgsrc-2008Q3-base:1.3
	cube-native-xorg:1.3.0.40
	cube-native-xorg-base:1.3
	pkgsrc-2008Q2:1.3.0.38
	pkgsrc-2008Q2-base:1.3
	pkgsrc-2008Q1:1.3.0.36
	pkgsrc-2008Q1-base:1.3
	pkgsrc-2007Q4:1.3.0.34
	pkgsrc-2007Q4-base:1.3
	pkgsrc-2007Q3:1.3.0.32
	pkgsrc-2007Q3-base:1.3
	pkgsrc-2007Q2:1.3.0.30
	pkgsrc-2007Q2-base:1.3
	pkgsrc-2007Q1:1.3.0.28
	pkgsrc-2007Q1-base:1.3
	pkgsrc-2006Q4:1.3.0.26
	pkgsrc-2006Q4-base:1.3
	pkgsrc-2006Q3:1.3.0.24
	pkgsrc-2006Q3-base:1.3
	pkgsrc-2006Q2:1.3.0.22
	pkgsrc-2006Q2-base:1.3
	pkgsrc-2006Q1:1.3.0.20
	pkgsrc-2006Q1-base:1.3
	pkgsrc-2005Q4:1.3.0.18
	pkgsrc-2005Q4-base:1.3
	pkgsrc-2005Q3:1.3.0.16
	pkgsrc-2005Q3-base:1.3
	pkgsrc-2005Q2:1.3.0.14
	pkgsrc-2005Q2-base:1.3
	pkgsrc-2005Q1:1.3.0.12
	pkgsrc-2005Q1-base:1.3
	pkgsrc-2004Q4:1.3.0.10
	pkgsrc-2004Q4-base:1.3
	pkgsrc-2004Q3:1.3.0.8
	pkgsrc-2004Q3-base:1.3
	pkgsrc-2004Q2:1.3.0.6
	pkgsrc-2004Q2-base:1.3
	pkgsrc-2004Q1:1.3.0.4
	pkgsrc-2004Q1-base:1.3
	pkgsrc-2003Q4:1.3.0.2
	pkgsrc-2003Q4-base:1.3
	buildlink2-base:1.3
	netbsd-1-4-RELEASE:1.2;
locks; strict;
comment	@# @;


1.3
date	99.05.06.23.38.48;	author tv;	state dead;
branches;
next	1.2;

1.2
date	98.12.28.16.17.12;	author bad;	state Exp;
branches;
next	1.1;

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


desc
@@


1.3
log
@Nuke mysql; it's now mysql-server and mysql-client.
@
text
@$NetBSD: patch-ay,v 1.2 1998/12/28 16:17:12 bad Exp $

--- /dev/null	Sun Oct 25 03:15:17 1998
+++ mit-pthreads/machdep/syscall-arm32-netbsd-1.3.S	Sun Oct 25 18:49:24 1998
@@@@ -0,0 +1,193 @@@@
+/* ==== syscall.S ============================================================
+ * Copyright (c) 1990 The Regents of the University of California.
+ * Copyright (c) 1993 Chris Provenzano, proven@@mit.edu
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * William Jolitz.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *	This product includes software developed by the University of
+ *	California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * Description : Machine dependent syscalls for i386/i486/i586
+ *
+ *  1.00 93/08/26 proven
+ *      -Started coding this file.
+ *
+ *	1.01 93/11/13 proven
+ *		-The functions readv() and writev() added.
+ */
+
+#ifndef lint
+	.text
+	.asciz "$Id: patch-ay,v 1.2 1998/12/28 16:17:12 bad Exp $";
+#endif
+ 
+#if defined(SYSLIBC_SCCS) && !defined(lint)
+        .asciz "@@(#)syscall.s   5.1 (Berkeley) 4/23/90"
+#endif /* SYSLIBC_SCCS and not lint */
+
+#include <machine/asm.h>
+#include <sys/syscall.h>
+
+/*
+ * Initial asm stuff for all functions.
+ */
+	.text
+	.align	0
+
+
+/* ==========================================================================
+ * machdep_sys_fork()
+ */
+	.globl _machdep_sys_fork;		
+									
+_machdep_sys_fork:;				
+
+	swi	SYS_fork
+	bcs	1f
+        sub     r1, r1, #0x00000001
+	and     r0, r0, r1
+	mov     r15, r14
+
+									
+
+/* ==========================================================================
+ * machdep_sys_fstat()
+ */
+	.globl _machdep_sys_fstat;
+
+_machdep_sys_fstat:;				
+
+	swi     SYS___fstat13
+	bcs     1f
+	mov     r15, r14
+
+/* ==========================================================================
+ * machdep_sys___syscall()
+ */
+
+_machdep_sys___syscall:;				
+
+	swi     SYS___syscall
+	bcs     1f
+	mov     r15, r14
+
+
+#ifndef SYS___sigsuspend14
+/* ==========================================================================
+ * machdep_sys_sigsuspend()
+ */
+	.globl _machdep_sys_sigsuspend;		
+
+_machdep_sys_sigsuspend:;
+
+	ldr     r0, [r0]
+	swi     SYS_sigsuspend
+	bcs     1f
+	mov     r0, #0x00000000
+	mov     r15, r14
+
+#endif
+
+#ifndef SYS___sigprocmask14
+/* ==========================================================================
+ * machdep_sys_sigprocmask()
+ */
+	.globl _machdep_sys_sigprocmask;		
+
+_machdep_sys_sigprocmask:;				
+									
+	teq     r1, #0x00000000
+	moveq   r0, #0x00000001
+	moveq   r1, #0x00000000
+	ldrne   r1, [r1]
+	swi     SYS_sigprocmask
+	bcs     1f
+	teq     r2, #0x00000000
+	strne   r0, [r2]
+	mov     r0, #0x00000000
+	mov     r15, r14
+#endif
+
+/* ==========================================================================
+ * machdep_sys_ftruncate()
+ */
+	.global	_machdep_sys_ftruncate
+_machdep_sys_ftruncate:
+	mov	r12, r13
+	stmfd	r13!, {r11, r12, r14, r15}
+	sub	r13, r13, #8
+	stmia	r13, {r1-r2}
+	mov	r3, #0
+	sub	r11, r12, #4
+	mov	r2, r0
+	mov	r1, #0
+	mov	r0, #201
+	bl	_machdep_sys___syscall
+	ldmea	r11, {r11, r13, r15}
+
+/* ==========================================================================
+ * machdep_sys_lseek()
+ */
+	.global	_machdep_sys_lseek
+
+_machdep_sys_lseek:
+	mov	r12, r13
+	stmfd	r13!, {r11, r12, r14, r15}
+	str	r3, [r13, #-4]!
+	sub	r13, r13, #8
+	stmia	r13, {r1-r2}
+	sub	r11, r12, #4
+	mov	r3, #0
+	mov	r2, r0
+	mov	r1, #0
+	mov	r0, #SYS_lseek
+	bl	_machdep_sys___syscall
+	ldmea	r11, {r11, r13, r15}
+
+/* ==========================================================================
+ * machdep_sys_pipe()
+ */
+	.globl _machdep_sys_pipe;		
+
+_machdep_sys_pipe:;	
+
+        mov     r2, r0
+	swi     SYS_pipe
+	bcs     1f
+	str     r0, [r2, #0x0000]
+	str     r1, [r2, #0x0004]
+	mov     r0, #0x00000000
+	mov     r15, r14
+
+
+1:
+	rsb	r0, r0, #0x00000000
+	mvn	r1, #0x00000000
+	mov	r15, r14
@


1.2
log
@Use correct syscall number on arm32.
Enable building server on arm32.
@
text
@d1 1
a1 1
$NetBSD: patch-ay,v 1.1 1998/10/28 18:18:09 bad Exp $
d53 1
a53 1
+	.asciz "$Id: patch-ay,v 1.1 1998/10/28 18:18:09 bad Exp $";
@


1.1
log
@Update to mysql-3.21.33.b
Update mit-pthreads for 1.3H signal changes on alpha and i386.
Update mit-pthreads for 1.3/1.3H on sparc (from 1.1 version).
Enable building the server on sparc.
Add mit-pthreads support for 1.3/1.3H on arm32. (Server doesn't work yet.)
Fix two bugs in mit-pthreads with functions returning off_t's.
@
text
@d1 1
a1 1
$NetBSD$
d53 1
a53 1
+	.asciz "$Id: syscall-i386-netbsd-1.3.S,v 1.1 1998/01/03 02:22:43 cjs Exp $";
d102 1
a102 1
+	swi     0x00000000
@

