/* $NetBSD: sys_cygwin_component.c,v 1.2 2016/01/26 23:12:17 pooka Exp $ */ #include #include #include #include #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; }