mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-12 07:31:12 -04:00
32 lines
662 B
C
32 lines
662 B
C
/* $NetBSD: sys_cygwin_component.c,v 1.1 2014/03/13 02:03:16 pooka Exp $ */
|
|
|
|
#include <sys/param.h>
|
|
#include <sys/proc.h>
|
|
|
|
#include <uvm/uvm_extern.h>
|
|
|
|
#include "rump_private.h"
|
|
|
|
#include "rump_cygwin_syscall.h"
|
|
|
|
extern struct sysent rump_cygwin_sysent[];
|
|
|
|
struct emul emul_rump_sys_cygwin = {
|
|
.e_name = "cygwin-rump",
|
|
.e_sysent = rump_cygwin_sysent,
|
|
#ifndef __HAVE_MINIMAL_EMUL
|
|
.e_nsysent = RUMP_CYGWIN_SYS_NSYSENT,
|
|
#endif
|
|
.e_vm_default_addr = uvm_default_mapaddr,
|
|
#ifdef __HAVE_SYSCALL_INTERN
|
|
.e_syscall_intern = syscall_intern,
|
|
#endif
|
|
};
|
|
|
|
RUMP_COMPONENT(RUMP_COMPONENT_KERN)
|
|
{
|
|
extern struct emul *emul_default;
|
|
|
|
emul_default = &emul_rump_sys_cygwin;
|
|
}
|