Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern Stub out anonmmap too.



details:   https://anonhg.NetBSD.org/src/rev/0b68e200e8bd
branches:  trunk
changeset: 786520:0b68e200e8bd
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Apr 30 14:28:52 2013 +0000

description:
Stub out anonmmap too.

This is a clever trick to enable me to avoid having to document
that interface.  I seriously doubt it's relevant beyond a POSIX
env where it's required by the proplib client-side implementation
which expects it can do munmap() on a return value from a proplib
call.

diffstat:

 sys/rump/librump/rumpkern/hyperstubs.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 61c586c3d474 -r 0b68e200e8bd sys/rump/librump/rumpkern/hyperstubs.c
--- a/sys/rump/librump/rumpkern/hyperstubs.c    Tue Apr 30 13:54:53 2013 +0000
+++ b/sys/rump/librump/rumpkern/hyperstubs.c    Tue Apr 30 14:28:52 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hyperstubs.c,v 1.1 2013/04/30 13:54:53 pooka Exp $     */
+/*     $NetBSD: hyperstubs.c,v 1.2 2013/04/30 14:28:52 pooka Exp $     */
 
 /*
  * Copyright (c) 2013 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hyperstubs.c,v 1.1 2013/04/30 13:54:53 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hyperstubs.c,v 1.2 2013/04/30 14:28:52 pooka Exp $");
 
 #include <sys/errno.h>
 
@@ -49,6 +49,11 @@
 
 __weak_alias(rumpuser_kill,rump_hypernotsupp);
 
+/* anonmmap (for proplib and modules) */
+
+__weak_alias(rumpuser_anonmmap,rump_hypernotsupp);
+__weak_alias(rumpuser_unmap,rump_hypernotsupp);
+
 /* syscall proxy */
 
 __weak_alias(rumpuser_sp_init,rump_hypernotsupp);



Home | Main Index | Thread Index | Old Index