Add missing link options to export global symbols to the _DYNAMIC section,
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 12 Jan 2007 03:05:49 +0000 (03:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 12 Jan 2007 03:05:49 +0000 (03:05 +0000)
commit460426e693788321bc2a7b3dc401104116447253
treea1196f79ae298fb20cb32c8602faf65c69d77a77
parent0fb6ec96458cad64dd93e0932a86ea23e00f090c
Add missing link options to export global symbols to the _DYNAMIC section,
allowing the kernel namelist functions to operate.  For now just make
certain static variables global instead of using linker magic to export
static variables.

Add infrastructure to allow out of band kernel memory to be accessed.  The
virtual kernel's memory map does not include the virtual kernel executable
or data areas.

vmstat, systat, pstat, and netstat now work with virtual kernels.
sys/kern/kern_memio.c
sys/kern/kern_slaballoc.c
sys/kern/kern_synch.c
sys/kern/vfs_bio.c
sys/kern/vfs_mount.c
sys/platform/pc32/i386/vm_machdep.c
sys/platform/vkernel/conf/Makefile
sys/platform/vkernel/i386/vm_machdep.c
sys/sys/systm.h
sys/vm/vm_swap.c
sys/vm/vm_zone.c