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;
locks; strict;
comment	@# @;


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

1.1
date	2000.12.28.03.56.53;	author wiz;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove obsolete packages, per discussion on tech-pkg.
@
text
@$NetBSD: patch-ae,v 1.1 2000/12/28 03:56:53 wiz Exp $

--- machdep/syscall-template-alpha-netbsd-1.3.S.orig	Sat Nov  6 18:33:03 1999
+++ machdep/syscall-template-alpha-netbsd-1.3.S
@@@@ -1,11 +1,16 @@@@
 #include <machine/asm.h>
 #define COMPAT_43
 #include <sys/syscall.h>
-#define CHMK()		call_pal 0x83
+#define CHMK()         call_pal 0x83
 
 #ifdef SYS___sigsuspend14
 #define SYS_sigsuspend SYS___sigsuspend14
 #endif
+
+#ifdef SYS___sigaction14
+#define SYS_sigaction SYS___sigaction14
+#endif
+
 #ifdef SYS___sigprocmask14
 #define SYS_sigprocmask SYS___sigprocmask14
 #endif
@@@@ -14,11 +19,11 @@@@
 
 /* Kernel syscall interface:
    Input:
-	v0 - system call number
-	a* - arguments, as in C
+       v0 - system call number
+       a* - arguments, as in C
    Output:
-	a3 - zero iff successful
-	v0 - errno value on failure, else result
+       a3 - zero iff successful
+       v0 - errno value on failure, else result
 
    This macro is similar to SYSCALL in asm.h, but not completely.
    There's room for optimization, if we assume this will continue to
@@@@ -26,28 +31,28 @@@@
 
    This macro expansions does not include the return instruction.
    If there's no other work to be done, use something like:
-	SYSCALL(foo) ; ret
+       SYSCALL(foo) ; ret
    If there is other work to do (in fork, maybe?), do it after the
    SYSCALL invocation.  */
 
 #define SYSCALL(x) \
-	.align	4					;\
-	.globl	machdep_sys_##x				;\
-	.ent	machdep_sys_##x, 0			;\
-machdep_sys_##x:					;\
-	.frame	sp,0,ra					;\
-	ldiq	v0, SYS_##x				;\
-	CHMK()						;\
-	beq	a3, Lsys_noerr_##x			;\
-	br	gp, Lsys_err_##x			;\
-Lsys_err_##x:						;\
-	/* Load gp so we can find cerror to jump to.  */;\
-	ldgp	gp, 0(gp)				;\
-	jmp	zero, machdep_cerror			;\
+       .align  4                                       ;\
+       .globl  machdep_sys_##x                         ;\
+       .ent    machdep_sys_##x, 0                      ;\
+machdep_sys_##x:                                       ;\
+       .frame  sp,0,ra                                 ;\
+       ldiq    v0, SYS_##x                             ;\
+       CHMK()                                          ;\
+       beq     a3, Lsys_noerr_##x                      ;\
+       br      gp, Lsys_err_##x                        ;\
+Lsys_err_##x:                                          ;\
+       /* Load gp so we can find cerror to jump to.  */;\
+       ldgp    gp, 0(gp)                               ;\
+       jmp     zero, machdep_cerror                    ;\
 Lsys_noerr_##x:
 
-#define SIMPLE_SYSCALL(x)	SYSCALL(x) ; ret ; .end machdep_sys_##x
+#define SIMPLE_SYSCALL(x)      SYSCALL(x) ; ret ; .end machdep_sys_##x
 
-#define XSYSCALL(x)	SIMPLE_SYSCALL(x)
+#define XSYSCALL(x)    SIMPLE_SYSCALL(x)
 
 XSYSCALL(SYSCALL_NAME)
@


1.1
log
@Add alpha support to unproven-pthreads.
By Olaf Seibert <rhialto@@polderland.nl>, posted on port-alpha on 2000/08/08.
Compiles fine, otherwise untested.
@
text
@d1 1
a1 1
$NetBSD$
@

