Source-Changes-HG archive

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

[src/trunk]: src Add rumpkern_nv (in-kernel RUMP libnv).



details:   https://anonhg.NetBSD.org/src/rev/180923f389c1
branches:  trunk
changeset: 433583:180923f389c1
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sat Sep 22 12:54:34 2018 +0000

description:
Add rumpkern_nv (in-kernel RUMP libnv).

diffstat:

 distrib/sets/lists/base/shl.mi      |   5 ++++-
 distrib/sets/lists/comp/mi          |   4 +++-
 distrib/sets/lists/comp/shl.mi      |   3 ++-
 distrib/sets/lists/debug/mi         |   3 ++-
 distrib/sets/lists/debug/shl.mi     |   3 ++-
 sys/rump/kern/Makefile.rumpkerncomp |   4 ++--
 sys/rump/kern/lib/libnv/Makefile    |  22 ++++++++++++++++++++++
 7 files changed, 37 insertions(+), 7 deletions(-)

diffs (129 lines):

diff -r 64ed0f3b5e22 -r 180923f389c1 distrib/sets/lists/base/shl.mi
--- a/distrib/sets/lists/base/shl.mi    Sat Sep 22 12:41:00 2018 +0000
+++ b/distrib/sets/lists/base/shl.mi    Sat Sep 22 12:54:34 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.847 2018/09/03 15:30:36 christos Exp $
+# $NetBSD: shl.mi,v 1.848 2018/09/22 12:54:34 rmind Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -689,6 +689,9 @@
 ./usr/lib/librumpkern_ksem.so                  base-obsolete           obsolete
 ./usr/lib/librumpkern_ksem.so.0                        base-obsolete           obsolete
 ./usr/lib/librumpkern_ksem.so.0.0              base-obsolete           obsolete
+./usr/lib/librumpkern_nv.so                    base-rump-shlib         rump
+./usr/lib/librumpkern_nv.so.0                  base-rump-shlib         rump
+./usr/lib/librumpkern_nv.so.0.0                        base-rump-shlib         rump
 ./usr/lib/librumpkern_sljit.so                 base-rump-shlib         rump,sljit
 ./usr/lib/librumpkern_sljit.so.0               base-rump-shlib         rump,sljit
 ./usr/lib/librumpkern_sljit.so.0.0             base-rump-shlib         rump,sljit
diff -r 64ed0f3b5e22 -r 180923f389c1 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Sat Sep 22 12:41:00 2018 +0000
+++ b/distrib/sets/lists/comp/mi        Sat Sep 22 12:54:34 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.2228 2018/09/06 19:19:44 maxv Exp $
+#      $NetBSD: mi,v 1.2229 2018/09/22 12:54:34 rmind Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.comp                           comp-sys-root
@@ -3647,6 +3647,8 @@
 ./usr/lib/librumpkern_crypto_p.a               comp-c-proflib          rump,profile
 ./usr/lib/librumpkern_ksem.a                   comp-obsolete           obsolete
 ./usr/lib/librumpkern_ksem_p.a                 comp-obsolete           obsolete
+./usr/lib/librumpkern_nv.a                     comp-c-lib              rump
+./usr/lib/librumpkern_nv_p.a                   comp-c-proflib          rump,profile
 ./usr/lib/librumpkern_sljit.a                  comp-c-lib              rump,sljit
 ./usr/lib/librumpkern_sljit_p.a                        comp-c-proflib          rump,sljit,profile
 ./usr/lib/librumpkern_solaris.a                        comp-c-lib              rump,zfs
diff -r 64ed0f3b5e22 -r 180923f389c1 distrib/sets/lists/comp/shl.mi
--- a/distrib/sets/lists/comp/shl.mi    Sat Sep 22 12:41:00 2018 +0000
+++ b/distrib/sets/lists/comp/shl.mi    Sat Sep 22 12:54:34 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.321 2018/08/13 08:26:49 christos Exp $
+# $NetBSD: shl.mi,v 1.322 2018/09/22 12:54:34 rmind Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -213,6 +213,7 @@
 ./usr/lib/librumphijack_pic.a                  comp-c-piclib           compatfile,picinstall,rump
 ./usr/lib/librumpkern_crypto_pic.a             comp-c-piclib           picinstall,rump
 ./usr/lib/librumpkern_ksem_pic.a               comp-obsolete           obsolete
+./usr/lib/librumpkern_nv_pic.a                 comp-c-piclib           picinstall,rump
 ./usr/lib/librumpkern_sljit_pic.a              comp-c-piclib           picinstall,rump,sljit
 ./usr/lib/librumpkern_solaris_pic.a            comp-c-piclib           picinstall,rump,zfs
 ./usr/lib/librumpkern_sysproxy_pic.a           comp-c-piclib           picinstall,rump
diff -r 64ed0f3b5e22 -r 180923f389c1 distrib/sets/lists/debug/mi
--- a/distrib/sets/lists/debug/mi       Sat Sep 22 12:41:00 2018 +0000
+++ b/distrib/sets/lists/debug/mi       Sat Sep 22 12:54:34 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.265 2018/09/19 13:58:26 maxv Exp $
+# $NetBSD: mi,v 1.266 2018/09/22 12:54:34 rmind Exp $
 ./etc/mtree/set.debug                           comp-sys-root
 ./usr/lib                                      comp-sys-usr            compatdir
 ./usr/lib/i18n/libBIG5_g.a                     comp-c-debuglib         debuglib,compatfile
@@ -202,6 +202,7 @@
 ./usr/lib/librumphijack_g.a                    comp-c-debuglib         debuglib,compatfile,rump
 ./usr/lib/librumpkern_crypto_g.a               comp-c-debuglib         debuglib,rump
 ./usr/lib/librumpkern_ksem_g.a                 comp-obsolete           obsolete,compatfile
+./usr/lib/librumpkern_nv_g.a                   comp-c-debuglib         debuglib,rump
 ./usr/lib/librumpkern_sljit_g.a                        comp-c-debuglib         debuglib,rump,sljit
 ./usr/lib/librumpkern_solaris_g.a              comp-c-debuglib         debuglib,rump,zfs
 ./usr/lib/librumpkern_sysproxy_g.a             comp-c-debuglib         debuglib,rump
diff -r 64ed0f3b5e22 -r 180923f389c1 distrib/sets/lists/debug/shl.mi
--- a/distrib/sets/lists/debug/shl.mi   Sat Sep 22 12:41:00 2018 +0000
+++ b/distrib/sets/lists/debug/shl.mi   Sat Sep 22 12:54:34 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.207 2018/09/03 15:30:36 christos Exp $
+# $NetBSD: shl.mi,v 1.208 2018/09/22 12:54:34 rmind Exp $
 ./usr/lib/libbfd_g.a                                           comp-c-debuglib debuglib,compatfile,binutils
 ./usr/libdata/debug/lib                                                base-sys-usr    debug,dynamicroot,compatdir
 ./usr/libdata/debug/lib/libblacklist.so.0.0.debug              comp-sys-debug  debug,dynamicroot
@@ -234,6 +234,7 @@
 ./usr/libdata/debug/usr/lib/librumphijack.so.0.0.debug         comp-rump-debug debug,compatfile,rump
 ./usr/libdata/debug/usr/lib/librumpkern_crypto.so.0.0.debug    comp-rump-debug debug,rump
 ./usr/libdata/debug/usr/lib/librumpkern_ksem.so.0.0.debug      comp-obsolete   obsolete,compatfile
+./usr/libdata/debug/usr/lib/librumpkern_nv.so.0.0.debug                comp-rump-debug debug,rump
 ./usr/libdata/debug/usr/lib/librumpkern_sljit.so.0.0.debug     comp-rump-debug debug,rump,sljit
 ./usr/libdata/debug/usr/lib/librumpkern_solaris.so.0.0.debug   comp-rump-debug debug,rump,zfs
 ./usr/libdata/debug/usr/lib/librumpkern_sysproxy.so.0.0.debug  comp-rump-debug debug,rump
diff -r 64ed0f3b5e22 -r 180923f389c1 sys/rump/kern/Makefile.rumpkerncomp
--- a/sys/rump/kern/Makefile.rumpkerncomp       Sat Sep 22 12:41:00 2018 +0000
+++ b/sys/rump/kern/Makefile.rumpkerncomp       Sat Sep 22 12:54:34 2018 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile.rumpkerncomp,v 1.12 2015/11/15 16:54:16 pooka Exp $
+#      $NetBSD: Makefile.rumpkerncomp,v 1.13 2018/09/22 12:54:34 rmind Exp $
 #
 
 .include <bsd.own.mk>
 
-RUMPKERNCOMPS= crypto sysproxy tty z
+RUMPKERNCOMPS= crypto nv sysproxy tty z
 RUMPSYSEMUS=   sys_cygwin sys_linux sys_sunos
 
 .if make(rumpdescribe)
diff -r 64ed0f3b5e22 -r 180923f389c1 sys/rump/kern/lib/libnv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/lib/libnv/Makefile  Sat Sep 22 12:54:34 2018 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2018/09/22 12:54:34 rmind Exp $
+#
+# Public Domain.
+#
+
+.PATH: ${.CURDIR}/../../../../external/bsd/libnv/dist
+
+LIB=   rumpkern_nv
+COMMENT=Name/value pairs library
+
+SRCS=  nvlist.c
+SRCS+= nvpair.c
+SRCS+= dnvlist.c
+SRCS+= nv_kern_netbsd.c
+
+#RUMPCOMP_INCS_DIR:=   ${.PARSEDIR}
+#RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR}
+
+CPPFLAGS+=     -I ${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
+
+.include <bsd.lib.mk>
+.include <bsd.klinks.mk>



Home | Main Index | Thread Index | Old Index