Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/kern/lib/libsys_cygwin rename component.c -> sys_cy...
details: https://anonhg.NetBSD.org/src/rev/56366cd3b4c3
branches: trunk
changeset: 327643:56366cd3b4c3
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Mar 13 02:03:16 2014 +0000
description:
rename component.c -> sys_cygwin_component.c
diffstat:
sys/rump/kern/lib/libsys_cygwin/Makefile | 5 +-
sys/rump/kern/lib/libsys_cygwin/component.c | 31 ------------------
sys/rump/kern/lib/libsys_cygwin/sys_cygwin_component.c | 31 ++++++++++++++++++
3 files changed, 34 insertions(+), 33 deletions(-)
diffs (86 lines):
diff -r e0735233df14 -r 56366cd3b4c3 sys/rump/kern/lib/libsys_cygwin/Makefile
--- a/sys/rump/kern/lib/libsys_cygwin/Makefile Thu Mar 13 02:02:30 2014 +0000
+++ b/sys/rump/kern/lib/libsys_cygwin/Makefile Thu Mar 13 02:03:16 2014 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2013/04/10 16:44:54 pooka Exp $
+# $NetBSD: Makefile,v 1.2 2014/03/13 02:03:16 pooka Exp $
#
LIB= rumpkern_sys_cygwin
-SRCS= rump_cygwin_compat.c rump_cygwin_sysent.c component.c
+SRCS= rump_cygwin_compat.c rump_cygwin_sysent.c
+SRCS+= sys_cygwin_component.c
# XXX
CPPFLAGS+= -I${.CURDIR} -I${RUMPTOP}/librump/rumpkern
diff -r e0735233df14 -r 56366cd3b4c3 sys/rump/kern/lib/libsys_cygwin/component.c
--- a/sys/rump/kern/lib/libsys_cygwin/component.c Thu Mar 13 02:02:30 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-/* $NetBSD: component.c,v 1.1 2013/04/10 16:44:54 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;
-}
diff -r e0735233df14 -r 56366cd3b4c3 sys/rump/kern/lib/libsys_cygwin/sys_cygwin_component.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/lib/libsys_cygwin/sys_cygwin_component.c Thu Mar 13 02:03:16 2014 +0000
@@ -0,0 +1,31 @@
+/* $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;
+}
Home |
Main Index |
Thread Index |
Old Index