head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.50
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.48
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.46
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.44
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.42
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.40
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.38
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.36
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.2.0.34
	pkgsrc-2008Q2-base:1.2
	pkgsrc-2008Q1:1.2.0.32
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.30
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.28
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.26
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.24
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.22
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.20
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.2.0.18
	pkgsrc-2006Q2-base:1.2
	pkgsrc-2006Q1:1.2.0.16
	pkgsrc-2006Q1-base:1.2
	pkgsrc-2005Q4:1.2.0.14
	pkgsrc-2005Q4-base:1.2
	pkgsrc-2005Q3:1.2.0.12
	pkgsrc-2005Q3-base:1.2
	pkgsrc-2005Q2:1.2.0.10
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.8
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.2.0.6
	pkgsrc-2004Q4-base:1.2
	pkgsrc-2004Q3:1.2.0.4
	pkgsrc-2004Q3-base:1.2
	pkgsrc-2004Q2:1.2.0.2
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.1.0.12
	pkgsrc-2004Q1-base:1.1
	pkgsrc-2003Q4:1.1.0.10
	pkgsrc-2003Q4-base:1.1
	netbsd-1-6-1:1.1.0.6
	netbsd-1-6-1-base:1.1
	netbsd-1-6:1.1.0.8
	netbsd-1-6-RELEASE-base:1.1
	pkgviews:1.1.0.4
	pkgviews-base:1.1
	buildlink2:1.1.0.2
	buildlink2-base:1.1
	netbsd-1-5-PATCH003:1.1
	netbsd-1-5-PATCH001:1.1
	netbsd-1-5-RELEASE:1.1
	netbsd-1-4-PATCH003:1.1
	netbsd-1-4-PATCH002:1.1
	comdex-fall-1999:1.1
	netbsd-1-4-PATCH001:1.1
	netbsd-1-4-RELEASE:1.1;
locks; strict;
comment	@# @;


1.2
date	2004.06.01.21.39.20;	author kristerw;	state dead;
branches;
next	1.1;

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


desc
@@


1.2
log
@Remove obsolete packages, per discussion on tech-pkg.
@
text
@$NetBSD: patch-bc,v 1.1 1998/12/28 22:22:03 bad Exp $

--- /dev/null	Sun Oct 25 03:15:17 1998
+++ 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-bc,v 1.1 1998/12/28 22:22:03 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.1
log
@Make this work on alpha, arm32, i386, and sparc on 1.3 and up.
@
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 $";
@

