text: /*	$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);
  }
  