diff options
Diffstat (limited to 'sys/arch/hppa/hppa/sys_machdep.c')
-rw-r--r-- | sys/arch/hppa/hppa/sys_machdep.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys/arch/hppa/hppa/sys_machdep.c b/sys/arch/hppa/hppa/sys_machdep.c new file mode 100644 index 00000000000..66e6f94c3d7 --- /dev/null +++ b/sys/arch/hppa/hppa/sys_machdep.c @@ -0,0 +1,28 @@ +/* $OpenBSD: sys_machdep.c,v 1.1 1998/12/29 18:06:48 mickey Exp $ */ + + +#include <sys/param.h> +#include <sys/systm.h> + +#include <sys/mount.h> +#include <sys/syscallargs.h> + +int +sys_sysarch(p, v, retval) + struct proc *p; + void *v; + register_t *retval; +{ + struct sys_sysarch_args /* { + syscallarg(int) op; + syscallarg(char *) parms; + } */ *uap = v; + int error = 0; + + switch (SCARG(uap, op)) { + default: + error = EINVAL; + break; + } + return (error); +} |