Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 netbsd32_sysarch moved here.



details:   https://anonhg.NetBSD.org/src/rev/ca90d02fc34f
branches:  trunk
changeset: 533712:ca90d02fc34f
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun Jul 07 23:28:04 2002 +0000

description:
netbsd32_sysarch moved here.

diffstat:

 sys/arch/sparc64/sparc64/netbsd32_machdep.c |  19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r 9c2ca400e52a -r ca90d02fc34f sys/arch/sparc64/sparc64/netbsd32_machdep.c
--- a/sys/arch/sparc64/sparc64/netbsd32_machdep.c       Sun Jul 07 23:27:00 2002 +0000
+++ b/sys/arch/sparc64/sparc64/netbsd32_machdep.c       Sun Jul 07 23:28:04 2002 +0000
@@ -845,3 +845,22 @@
                free(memp, M_IOCTLOPS);
        return (error);
 }
+
+
+int
+netbsd32_sysarch(p, v, retval)
+       struct proc *p;
+       void *v;
+       register_t *retval;
+{
+       struct netbsd32_sysarch_args /* {
+               syscallarg(int) op;
+               syscallarg(netbsd32_voidp) parms;
+       } */ *uap = v;
+
+       switch (SCARG(uap, op)) {
+       default:
+               printf("(%s) netbsd32_sysarch(%d)\n", MACHINE, SCARG(uap, op));
+               return EINVAL;
+       }
+}



Home | Main Index | Thread Index | Old Index