Source-Changes-HG archive

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

[src/trunk]: src/sys/rump document compile-time options for rump kernels



details:   https://anonhg.NetBSD.org/src/rev/7b55ec82dc93
branches:  trunk
changeset: 794511:7b55ec82dc93
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Mar 16 14:33:22 2014 +0000

description:
document compile-time options for rump kernels

diffstat:

 sys/rump/README.compileopts |  87 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 87 insertions(+), 0 deletions(-)

diffs (91 lines):

diff -r ba2b9cd7fbe8 -r 7b55ec82dc93 sys/rump/README.compileopts
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/README.compileopts       Sun Mar 16 14:33:22 2014 +0000
@@ -0,0 +1,87 @@
+       $NetBSD: README.compileopts,v 1.1 2014/03/16 14:33:22 pooka Exp $
+
+This file describes compile-time options for rump kernels.  Additionally,
+NetBSD build options will have an effect.  See src/share/mk/bsd.README
+for a desciption of NetBSD build options.
+
+
+    RUMP_DIAGNOSTIC
+
+values:        yes|no
+defval:        yes
+effect:        Iff "yes", build with -DDIAGNOSTIC.
+
+
+    RUMP_DEBUG
+
+values:        defined / not defined
+effect:        Iff defined, build with -DDEBUG.
+
+
+    RUMP_LOCKDEBUG
+
+values:        defined / not defined
+effect:        Iff defined, build with -DLOCKDEBUG.
+
+
+    RUMP_KTRACE
+
+values:        yes|no
+defval:        yes
+effect:        Iff "yes", build with -DKTRACE.
+
+
+    RUMP_LOCKS_UP
+
+values: yes|no
+defval:        no
+effect: If "yes", build rump kernel with uniprocess-optimized locking.
+       An implication of this is that RUMP_NCPU==1 is required at
+       runtime.  If "no", build with multiprocessor-capable locking.
+
+
+    RUMP_UNREAL_ALLOCATORS
+
+values: yes|no
+defval:        no
+effect: If "yes", build version of kmem_alloc, pool and pool_cache
+       that directly relegate allocation to a hypercall.  If "no",
+       build the regular NetBSD memory allocators which use
+       page-sized memory allocation hypercalls.
+
+
+    RUMP_VIRTIF
+
+values:        yes|no
+defval:        yes
+effect:        Iff "yes", build the virt(4) network interface.  Turning this
+       off may be necessary on systems that lack the necessary headers,
+       e.g. musl libc based Linux.
+
+
+================================================================================
+
+
+The rest of the options described in this file are not intended to be
+set by users, but by the package building rump kernels.
+
+
+    RUMP_KERNEL_IS_LIBC
+
+values:        defined / not defined
+effect: Iff defined, export normal system call symbols from libc.
+       For example, without this option rump_sys_open() is exported.
+       With this option, both open() and rump_sys_open() are exported.
+       This option is meant for building systems where a rump kernel
+       is the only operating system like component.
+
+
+    RUMP_LDSCRIPT
+
+values: no/GNU/sun
+defval: GNU
+effect: Select the linker script to be used for linking rump kernel shared
+       library components.
+       no  - do not use a linker script
+       GNU - use a linker script for GNU ld 2.18 and later
+       sun - use a linker script for the Solaris linker



Home | Main Index | Thread Index | Old Index