Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump Rename rumpuser_dl_module_bootstrap() to rumpuser_d...
details: https://anonhg.NetBSD.org/src/rev/5920fb752ee5
branches: trunk
changeset: 752455:5920fb752ee5
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Feb 26 15:23:20 2010 +0000
description:
Rename rumpuser_dl_module_bootstrap() to rumpuser_dl_bootstrap(),
since it hasn't been involved only with modules for quite a while now.
diffstat:
sys/rump/include/rump/rumpuser.h | 4 ++--
sys/rump/librump/rumpkern/rump.c | 6 +++---
sys/rump/librump/rumpuser/rumpuser_dl.c | 9 ++++-----
3 files changed, 9 insertions(+), 10 deletions(-)
diffs (84 lines):
diff -r c2db972a3844 -r 5920fb752ee5 sys/rump/include/rump/rumpuser.h
--- a/sys/rump/include/rump/rumpuser.h Fri Feb 26 09:57:39 2010 +0000
+++ b/sys/rump/include/rump/rumpuser.h Fri Feb 26 15:23:20 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser.h,v 1.35 2009/12/23 17:17:59 stacktic Exp $ */
+/* $NetBSD: rumpuser.h,v 1.36 2010/02/26 15:23:20 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -200,6 +200,6 @@
struct modinfo;
typedef int (*rump_modinit_fn)(struct modinfo *, prop_dictionary_t);
typedef int (*rump_symload_fn)(void *, uint64_t, char *, uint64_t);
-void rumpuser_dl_module_bootstrap(rump_modinit_fn, rump_symload_fn);
+void rumpuser_dl_bootstrap(rump_modinit_fn, rump_symload_fn);
#endif /* _RUMP_RUMPUSER_H_ */
diff -r c2db972a3844 -r 5920fb752ee5 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Fri Feb 26 09:57:39 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Fri Feb 26 15:23:20 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.152 2010/02/09 16:53:13 pooka Exp $ */
+/* $NetBSD: rump.c,v 1.153 2010/02/26 15:23:20 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.152 2010/02/09 16:53:13 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.153 2010/02/26 15:23:20 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -299,7 +299,7 @@
sysctl_finalize();
- rumpuser_dl_module_bootstrap(rump_module_init, rump_kernelfsym_load);
+ rumpuser_dl_bootstrap(rump_module_init, rump_kernelfsym_load);
rumpuser_gethostname(hostname, MAXHOSTNAMELEN, &error);
hostnamelen = strlen(hostname);
diff -r c2db972a3844 -r 5920fb752ee5 sys/rump/librump/rumpuser/rumpuser_dl.c
--- a/sys/rump/librump/rumpuser/rumpuser_dl.c Fri Feb 26 09:57:39 2010 +0000
+++ b/sys/rump/librump/rumpuser/rumpuser_dl.c Fri Feb 26 15:23:20 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_dl.c,v 1.11 2009/12/08 08:12:49 stacktic Exp $ */
+/* $NetBSD: rumpuser_dl.c,v 1.12 2010/02/26 15:23:20 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: rumpuser_dl.c,v 1.11 2009/12/08 08:12:49 stacktic Exp $");
+__RCSID("$NetBSD: rumpuser_dl.c,v 1.12 2010/02/26 15:23:20 pooka Exp $");
#include <sys/types.h>
#include <sys/time.h>
@@ -332,7 +332,7 @@
* from all objects in the linkmap.
*/
void
-rumpuser_dl_module_bootstrap(rump_modinit_fn domodinit,
+rumpuser_dl_bootstrap(rump_modinit_fn domodinit,
rump_symload_fn symload)
{
struct link_map *map, *origmap;
@@ -404,11 +404,10 @@
}
#else
void
-rumpuser_dl_module_bootstrap(rump_modinit_fn domodinit,
+rumpuser_dl_bootstrap(rump_modinit_fn domodinit,
rump_symload_fn symload)
{
fprintf(stderr, "Warning, dlinfo() unsupported on host?\n");
- fprintf(stderr, "module bootstrap unavailable\n");
}
#endif
Home |
Main Index |
Thread Index |
Old Index