Add a sunos_machdep include file to deal with MD implementations of

sunos_syscall_intern.
This commit is contained in:
christos 2005-07-11 13:14:49 +00:00
parent 2f382743c1
commit 25e2fae9e9
2 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sunos_exec.c,v 1.48 2005/07/10 16:45:33 christos Exp $ */
/* $NetBSD: sunos_exec.c,v 1.49 2005/07/11 13:14:49 christos Exp $ */
/*
* Copyright (c) 1993 Theo de Raadt
@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sunos_exec.c,v 1.48 2005/07/10 16:45:33 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sunos_exec.c,v 1.49 2005/07/11 13:14:49 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@ -48,6 +48,8 @@ __KERNEL_RCSID(0, "$NetBSD: sunos_exec.c,v 1.48 2005/07/10 16:45:33 christos Exp
#include <compat/sunos/sunos_exec.h>
#include <compat/sunos/sunos_syscall.h>
#include <machine/sunos_machdep.h>
extern int nsunos_sysent;
extern struct sysent sunos_sysent[];
#ifdef SYSCALL_DEBUG

View File

@ -1,4 +1,4 @@
/* $NetBSD: sunos32_exec.c,v 1.22 2005/07/10 04:23:30 christos Exp $ */
/* $NetBSD: sunos32_exec.c,v 1.23 2005/07/11 13:14:49 christos Exp $ */
/*
* Copyright (c) 2001 Matthew R. Green
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.22 2005/07/10 04:23:30 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.23 2005/07/11 13:14:49 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_syscall_debug.h"
@ -45,6 +45,8 @@ __KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.22 2005/07/10 04:23:30 christos E
#include <compat/sunos32/sunos32_syscall.h>
#include <compat/sunos32/sunos32_exec.h>
#include <machine/sunos_machdep.h>
extern int nsunos32_sysent;
extern struct sysent sunos32_sysent[];
#ifdef SYSCALL_DEBUG
@ -86,7 +88,7 @@ const struct emul emul_sunos = {
NULL,
NULL,
#ifdef __HAVE_SYSCALL_INTERN
syscall_intern,
sunos_syscall_intern,
#else
syscall,
#endif