diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-01-15 11:58:55 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-01-15 11:58:55 +0000 |
commit | 026d208a5325af2407f23c6b72f4af55b0546226 (patch) | |
tree | 18054bcd48f0838d527683629bfdba762bc631d3 /sys/arch | |
parent | 728f4224a361f7b3edf9598dfe126a56af36eee8 (diff) |
define the constants that COMPAT_NETBSD code needs in locore
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/alpha/genassym.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/genassym.c b/sys/arch/alpha/alpha/genassym.c index a8617cb204f..873c9fd7f10 100644 --- a/sys/arch/alpha/alpha/genassym.c +++ b/sys/arch/alpha/alpha/genassym.c @@ -1,4 +1,4 @@ -/* $OpenBSD: genassym.c,v 1.8 2000/11/08 19:16:58 ericj Exp $ */ +/* $OpenBSD: genassym.c,v 1.9 2001/01/15 11:58:54 art Exp $ */ /* $NetBSD: genassym.c,v 1.27 2000/05/26 00:36:42 thorpej Exp $ */ /* @@ -77,6 +77,10 @@ #include <machine/rpb.h> #include <machine/vmparam.h> +#ifdef COMPAT_NETBSD +#include <compat/netbsd/netbsd_syscall.h> +#endif + #include <vm/vm.h> /* Note: Avoid /usr/include for cross compilation! */ @@ -216,6 +220,12 @@ struct nv assyms[] = { def1(SYS_sigreturn), def1(SYS_exit), +#ifdef COMPAT_NETBSD + /* XXX - these should probably use the magic macro from machine/asm.h */ + def1(NETBSD_SYS___sigreturn14), + def1(NETBSD_SYS_exit), +#endif + /* CPU info */ off(CPU_INFO_CURPROC, struct cpu_info, ci_curproc), off(CPU_INFO_FPCURPROC, struct cpu_info, ci_fpcurproc), |