minix/kernel
Gianluca Guida cc17b27a2b Build NetBSD libc library in world in ELF mode.
3 sets of libraries are built now:
  . ack: all libraries that ack can compile (/usr/lib/i386/)
  . clang+elf: all libraries with minix headers (/usr/lib/)
  . clang+elf: all libraries with netbsd headers (/usr/netbsd/)

Once everything can be compiled with netbsd libraries and headers, the
/usr/netbsd hierarchy will be obsolete and its libraries compiled with
netbsd headers will be installed in /usr/lib, and its headers
in /usr/include. (i.e. minix libc and current minix headers set
will be gone.)

To use the NetBSD libc system (libraries + headers) before
it is the default libc, see:
   http://wiki.minix3.org/en/DevelopersGuide/UsingNetBSDCode
This wiki page also documents the maintenance of the patch
files of minix-specific changes to imported NetBSD code.

Changes in this commit:
  . libsys: Add NBSD compilation and create a safe NBSD-based libc.
  . Port rest of libraries (except libddekit) to new header system.
  . Enable compilation of libddekit with new headers.
  . Enable kernel compilation with new headers.
  . Enable drivers compilation with new headers.
  . Port legacy commands to new headers and libc.
  . Port servers to new headers.
  . Add <sys/sigcontext.h> in compat library.
  . Remove dependency file in tree.
  . Enable compilation of common/lib/libc/atomic in libsys
  . Do not generate RCSID strings in libc.
  . Temporarily disable zoneinfo as they are incompatible with NetBSD format
  . obj-nbsd for .gitignore
  . Procfs: use only integer arithmetic. (Antoine Leca)
  . Increase ramdisk size to create NBSD-based images.
  . Remove INCSYMLINKS handling hack.
  . Add nbsd_include/sys/exec_elf.h
  . Enable ELF compilation with NBSD libc.
  . Add 'make nbsdsrc' in tools to download reference NetBSD sources.
  . Automate minix-port.patch creation.
  . Avoid using fstavfs() as it is *extremely* slow and unneeded.
  . Set err() as PRIVATE to avoid name clash with libc.
  . [NBSD] servers/vm: remove compilation warnings.
  . u32 is not a long in NBSD headers.
  . UPDATING info on netbsd hierarchy
  . commands fixes for netbsd libc
2011-06-24 11:46:30 +02:00
..
arch/i386 fix clang warnings -R in kernel/ and servers/ 2011-06-09 16:09:13 +02:00
system Split off sys_umap_remote from sys_umap 2011-06-10 14:28:20 +00:00
clock.c fix clang warnings -R in kernel/ and servers/ 2011-06-09 16:09:13 +02:00
clock.h Userspace scheduling - exporting stats 2010-09-19 15:52:12 +00:00
config.h Split off sys_umap_remote from sys_umap 2011-06-10 14:28:20 +00:00
const.h changes for detecting and building for clang/binutils elf 2011-06-07 16:49:52 +02:00
cpulocals.c SMP - Cpu local variables 2010-09-15 14:09:46 +00:00
cpulocals.h Busy idle loop when profiling 2010-09-23 10:49:52 +00:00
debug.c fix clang warnings -R in kernel/ and servers/ 2011-06-09 16:09:13 +02:00
debug.h kernel - change print*() functions for ipc to generic ipc hook functions. 2011-02-08 13:54:33 +00:00
extract-errno.sh Optional IPC logging 2010-06-24 13:31:40 +00:00
extract-mfield.sh Optional IPC logging 2010-06-24 13:31:40 +00:00
extract-mtype.sh Move shared headers in common/include 2011-02-06 22:59:02 +00:00
glo.h Add cttybaud boot monitor variable to control speed of serial console (combine with ctty 0) 2011-03-16 12:25:10 +00:00
interrupt.c APIC mode uses IO APICs 2010-09-07 07:18:11 +00:00
interrupt.h SMP - trully idle APs 2010-09-15 14:10:57 +00:00
ipc.h Set IPC status code only for RECEIVE 2010-04-26 14:43:59 +00:00
kernel.h <ansi.h> -> <minix/ansi.h> 2011-01-28 11:35:02 +00:00
main.c Initialize NMI watchdog only once, after enabling paging 2011-06-22 17:56:57 +02:00
Makefile Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
perf.h SMP - all process have pagetables 2010-09-15 14:11:30 +00:00
priv.h Remote unused segctl kernel call 2011-04-26 23:28:23 +02:00
proc.c fix clang warnings -R in kernel/ and servers/ 2011-06-09 16:09:13 +02:00
proc.h VM and kernel support for ELF 2011-02-26 23:00:55 +00:00
profile.c fix clang warnings -R in kernel/ and servers/ 2011-06-09 16:09:13 +02:00
profile.h Fix multiboot for ACK-built images 2010-12-17 13:47:11 +00:00
proto.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
smp.c SMP - lazy FPU 2010-09-15 14:11:25 +00:00
smp.h SMP - lazy FPU 2010-09-15 14:11:25 +00:00
spinlock.h SMP - Big kernel lock (BKL) 2010-09-15 14:10:03 +00:00
start.c Add cttybaud boot monitor variable to control speed of serial console (combine with ctty 0) 2011-03-16 12:25:10 +00:00
system.c Split off sys_umap_remote from sys_umap 2011-06-10 14:28:20 +00:00
system.h Split off sys_umap_remote from sys_umap 2011-06-10 14:28:20 +00:00
table.c ELF multiboot support 2011-05-04 18:51:43 +02:00
type.h ELF multiboot support 2011-05-04 18:51:43 +02:00
utility.c SMP - lazy FPU 2010-09-15 14:11:25 +00:00
vm.h No linear addresses in message delivery 2010-06-11 08:16:10 +00:00
watchdog.c Fix for SPROFILE == 0 2011-05-25 09:42:11 +02:00
watchdog.h Watchdog and kernel profiling for AMD 2010-09-23 14:42:30 +00:00