set e_nsysent
This commit is contained in:
parent
5293faf3f0
commit
40b6725a9a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: component.c,v 1.5 2013/03/07 18:57:42 pooka Exp $ */
|
||||
/* $NetBSD: component.c,v 1.6 2013/03/07 19:10:59 pooka Exp $ */
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
@ -7,11 +7,16 @@
|
||||
|
||||
#include "rump_private.h"
|
||||
|
||||
#include "rump_linux_syscall.h"
|
||||
|
||||
extern struct sysent rump_linux_sysent[];
|
||||
|
||||
struct emul emul_rump_sys_linux = {
|
||||
.e_name = "linux-rump",
|
||||
.e_sysent = rump_linux_sysent,
|
||||
#ifndef __HAVE_MINIMAL_EMUL
|
||||
.e_nsysent = RUMP_LINUX_SYS_NSYSENT,
|
||||
#endif
|
||||
.e_vm_default_addr = uvm_default_mapaddr,
|
||||
#ifdef __HAVE_SYSCALL_INTERN
|
||||
.e_syscall_intern = syscall_intern,
|
||||
|
Loading…
Reference in New Issue
Block a user