From 92050ae95998787a5e3862fe7423b71f97ddcfdc Mon Sep 17 00:00:00 2001 From: pooka Date: Mon, 13 Dec 2010 14:03:59 +0000 Subject: [PATCH] stubs to make life easier --- sys/rump/librump/rumpkern/rump.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/rump/librump/rumpkern/rump.c b/sys/rump/librump/rumpkern/rump.c index cc3832bf5b81..b7718dadf97d 100644 --- a/sys/rump/librump/rumpkern/rump.c +++ b/sys/rump/librump/rumpkern/rump.c @@ -1,4 +1,4 @@ -/* $NetBSD: rump.c,v 1.210 2010/12/12 17:11:33 pooka Exp $ */ +/* $NetBSD: rump.c,v 1.211 2010/12/13 14:03:59 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.210 2010/12/12 17:11:33 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.211 2010/12/13 14:03:59 pooka Exp $"); #include #define ELFSIZE ARCH_ELFSIZE @@ -144,6 +144,10 @@ void rump__unavailable_vfs_panic(void); void rump__unavailable_vfs_panic() {panic("vfs component not available");} __weak_alias(usermount_common_policy,rump__unavailable_vfs_panic); +/* easier to write vfs-less clients */ +__weak_alias(rump_pub_etfs_register,rump__unavailable); +__weak_alias(rump_pub_etfs_remove,rump__unavailable); + rump_proc_vfs_init_fn rump_proc_vfs_init; rump_proc_vfs_release_fn rump_proc_vfs_release;