1 /* $NetBSD: sys_cygwin_component.c,v 1.1 2014/03/13 02:03:16 pooka Exp $ */ 2 3 #include <sys/param.h> 4 #include <sys/proc.h> 5 6 #include <uvm/uvm_extern.h> 7 8 #include "rump_private.h" 9 10 #include "rump_cygwin_syscall.h" 11 12 extern struct sysent rump_cygwin_sysent[]; 13 14 struct emul emul_rump_sys_cygwin = { 15 .e_name = "cygwin-rump", 16 .e_sysent = rump_cygwin_sysent, 17 #ifndef __HAVE_MINIMAL_EMUL 18 .e_nsysent = RUMP_CYGWIN_SYS_NSYSENT, 19 #endif 20 .e_vm_default_addr = uvm_default_mapaddr, 21 #ifdef __HAVE_SYSCALL_INTERN 22 .e_syscall_intern = syscall_intern, 23 #endif 24 }; 25 26 RUMP_COMPONENT(RUMP_COMPONENT_KERN) 27 { 28 extern struct emul *emul_default; 29 30 emul_default = &emul_rump_sys_cygwin; 31 } 32