minix/nbsd_include/sys
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
..
ansi.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
atomic.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
bitops.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
bswap.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
cdefs.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
cdefs_aout.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
cdefs_elf.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
ctype_bits.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ctype_inline.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
dir.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
dirent.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
endian.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
errno.h Sync NBSD libc errno.h with minix errno.h 2011-03-04 22:37:43 +00:00
exec_elf.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
fcntl.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
fd_set.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
featuretest.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
file.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
float_ieee754.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
gcq.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
gmon.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
hash.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ieee754.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
inttypes.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ioc_net.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ioctl.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ipc.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
localedef.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
Makefile Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
md4.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
md5.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
mman.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
mount.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
null.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
param.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
poll.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ptrace.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ptree.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
queue.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
rbtree.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
reboot.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
resource.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
rmd160.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
select.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
sem.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
sha1.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
sha2.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
shm.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
siginfo.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
signal.h [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
sigtypes.h Fix signal handling in NBSD libc. 2011-02-21 18:06:54 +00:00
socket.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
stat.h [NBSD libc] Various fixes. 2011-04-06 15:59:10 +00:00
statfs.h Fix stat, add fstat and other NBSD libc fixes. 2011-03-04 22:31:31 +00:00
statvfs.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
stdint.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
sysctl.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
syslimits.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
syslog.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
termios.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
time.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
times.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
tree.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ttycom.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ttydefaults.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
types.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ucontext.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ucred.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
uio.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
un.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
unistd.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
utsname.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
uuid.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
wait.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00