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_sunos rename component.c -> sys_sun...



details:   https://anonhg.NetBSD.org/src/rev/dc1f6766a1b8
branches:  trunk
changeset: 794385:dc1f6766a1b8
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Mar 13 02:04:14 2014 +0000

description:
rename component.c -> sys_sunos_component.c

diffstat:

 sys/rump/kern/lib/libsys_sunos/Makefile              |   5 +-
 sys/rump/kern/lib/libsys_sunos/component.c           |  31 --------------------
 sys/rump/kern/lib/libsys_sunos/sys_sunos_component.c |  31 ++++++++++++++++++++
 3 files changed, 34 insertions(+), 33 deletions(-)

diffs (86 lines):

diff -r a706394cac7d -r dc1f6766a1b8 sys/rump/kern/lib/libsys_sunos/Makefile
--- a/sys/rump/kern/lib/libsys_sunos/Makefile   Thu Mar 13 02:03:47 2014 +0000
+++ b/sys/rump/kern/lib/libsys_sunos/Makefile   Thu Mar 13 02:04:14 2014 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: Makefile,v 1.1 2013/04/09 13:08:33 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2014/03/13 02:04:14 pooka Exp $
 #
 
 LIB=   rumpkern_sys_sunos
 
-SRCS=  rump_sunos_compat.c rump_sunos_sysent.c component.c
+SRCS=  rump_sunos_compat.c rump_sunos_sysent.c
+SRCS+  sys_sunos_component.c
 
 # XXX
 CPPFLAGS+= -I${.CURDIR} -I${RUMPTOP}/librump/rumpkern
diff -r a706394cac7d -r dc1f6766a1b8 sys/rump/kern/lib/libsys_sunos/component.c
--- a/sys/rump/kern/lib/libsys_sunos/component.c        Thu Mar 13 02:03:47 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-/*     $NetBSD: component.c,v 1.1 2013/04/09 13:08:33 pooka Exp $      */
-
-#include <sys/param.h>
-#include <sys/proc.h>
-
-#include <uvm/uvm_extern.h>
-
-#include "rump_private.h"
-
-#include "rump_sunos_syscall.h"
-
-extern struct sysent rump_sunos_sysent[];
-
-struct emul emul_rump_sys_sunos = {
-       .e_name = "sunos-rump",
-       .e_sysent = rump_sunos_sysent,
-#ifndef __HAVE_MINIMAL_EMUL
-       .e_nsysent = RUMP_SUNOS_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_sunos;
-}
diff -r a706394cac7d -r dc1f6766a1b8 sys/rump/kern/lib/libsys_sunos/sys_sunos_component.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/lib/libsys_sunos/sys_sunos_component.c      Thu Mar 13 02:04:14 2014 +0000
@@ -0,0 +1,31 @@
+/*     $NetBSD: sys_sunos_component.c,v 1.1 2014/03/13 02:04:14 pooka Exp $    */
+
+#include <sys/param.h>
+#include <sys/proc.h>
+
+#include <uvm/uvm_extern.h>
+
+#include "rump_private.h"
+
+#include "rump_sunos_syscall.h"
+
+extern struct sysent rump_sunos_sysent[];
+
+struct emul emul_rump_sys_sunos = {
+       .e_name = "sunos-rump",
+       .e_sysent = rump_sunos_sysent,
+#ifndef __HAVE_MINIMAL_EMUL
+       .e_nsysent = RUMP_SUNOS_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_sunos;
+}



Home | Main Index | Thread Index | Old Index