summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1999-09-26 11:07:33 +0000
committerkstailey <kstailey@cvs.openbsd.org>1999-09-26 11:07:33 +0000
commit0a4ca32608834d51f9ba07948b864ef2cb1f956c (patch)
tree01f6562621c6799357f8cced0b6c22abd5977095 /sys/arch/alpha/include
parentfc2024b56f449c9c99f2991f581e7aacc10af3c7 (diff)
netbsd_sendsig() + supporting code
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r--sys/arch/alpha/include/asm.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/asm.h b/sys/arch/alpha/include/asm.h
index 7783b3b963e..5ec88decbca 100644
--- a/sys/arch/alpha/include/asm.h
+++ b/sys/arch/alpha/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.6 1997/01/24 19:57:07 niklas Exp $ */
+/* $OpenBSD: asm.h,v 1.7 1999/09/26 11:07:32 kstailey Exp $ */
/* $NetBSD: asm.h,v 1.11 1996/11/30 02:48:57 jtc Exp $ */
/*
@@ -615,6 +615,13 @@ label: ASCIZ msg; \
ldiq v0, SYSCALLNUM(name); \
call_pal PAL_OSF1_callsys
+#define NETBSD_SYSCALLNUM(name) \
+ ___CONCAT(NETBSD_SYS_,name)
+
+#define NETBSD_CALLSYS_NOERROR(name) \
+ ldiq v0, NETBSD_SYSCALLNUM(name); \
+ call_pal PAL_OSF1_callsys
+
/*
* Load the global pointer.
*/