minix/lib/libsys
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 Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
_stdfile.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
abort.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
alloc_util.c libdriver: make partition code use a contiguous buffer 2010-06-13 10:40:22 +00:00
assert.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
asynsend.c Enable a process to find out what the error code was when delivery of an 2011-04-08 15:23:12 +00:00
calloc.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
ds.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
env_get_prm.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
env_panic.c panic() cleanup. 2010-03-05 15:05:11 +00:00
env_parse.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
env_prefix.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
errlist.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
fkey_ctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
fputs.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
gcov.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
get_randomness.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
getidle.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
getsysinfo.c make getsysinfo() a system-land call 2010-09-14 21:50:05 +00:00
getuptime.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
getuptime2.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
input.c Added possibility to inject input events to tty 2010-11-17 14:53:07 +00:00
kernel_call.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
kprintf.c panic() cleanup. 2010-03-05 15:05:11 +00:00
kputc.c Oops, last commit included more than was intended 2010-05-20 08:07:47 +00:00
kputs.c intercept puts() in libsys, for gcc 2010-04-23 20:23:33 +00:00
Makefile Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
Makefile.libc.inc Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
malloc.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
panic.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
pci.h Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
pci_attr_r8.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_attr_r16.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_attr_r32.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_attr_w8.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_attr_w16.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_attr_w32.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_del_acl.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
pci_dev_name.c make getsysinfo() a system-land call 2010-09-14 21:50:05 +00:00
pci_find_dev.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_first_dev.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_get_bar.c PCI: expose BAR sizes 2010-07-01 09:10:16 +00:00
pci_ids.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_init.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
pci_init1.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
pci_next_dev.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_rescan_bus.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_reserve.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
pci_set_acl.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
pci_slot_name.c panic() cleanup. 2010-03-05 15:05:11 +00:00
profile.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
profile_extern.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
safecopies.c Clean up MFS a bit: 2010-06-01 12:35:33 +00:00
sched_start.c SMP - Changed prototype of sys_schedule() 2010-09-15 14:10:42 +00:00
sched_stop.c Opps, forgot to svn add these files 2010-07-01 08:38:15 +00:00
sef.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
sef_gcov.c added missing sef_gcov.c 2010-08-25 13:23:32 +00:00
sef_init.c RS live update support. 2010-07-09 18:29:04 +00:00
sef_liveupdate.c RS live update support. 2010-07-09 18:29:04 +00:00
sef_ping.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sef_signal.c Fixed some incorrect uses of printf-like functions. 2010-04-01 14:30:36 +00:00
ser_putc.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
spin.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
stacktrace.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_abort.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_clear.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sys_cprof.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_endsig.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_eniop.c Server/driver protocols: no longer allow third-party copies. 2011-04-11 17:35:05 +00:00
sys_exec.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_exit.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sys_fork.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_getinfo.c Move MIN() and MAX() macros to sys/params.h 2010-08-21 13:10:41 +00:00
sys_getsig.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_hz.c Add an UNUSED annotation, and use it in libsys. 2010-03-11 14:23:33 +00:00
sys_in.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_int86.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_irqctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_kill.c More cleanup to remove MM and FS references 2010-06-10 14:04:46 +00:00
sys_mcontext.c - Add support for the ucontext system calls (getcontext, setcontext, 2010-03-12 15:58:41 +00:00
sys_memset.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_newmap.c VM and kernel support for ELF 2011-02-26 23:00:55 +00:00
sys_out.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_physcopy.c Remote unused segctl kernel call 2011-04-26 23:28:23 +02:00
sys_privctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_profbuf.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_readbios.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_runctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_safecopy.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_safemap.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_schedctl.c SMP - Changed prototype of sys_schedule() 2010-09-15 14:10:42 +00:00
sys_schedule.c SMP - Changed prototype of sys_schedule() 2010-09-15 14:10:42 +00:00
sys_sdevio.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
sys_setalarm.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_setgrant.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_sigreturn.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_sigsend.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_sprof.c The profile utility can set the sprofiling mode 2010-09-23 10:49:42 +00:00
sys_statectl.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
sys_stime.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_sysctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_times.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_trace.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_umap.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_umap_remote.c Split off sys_umap_remote from sys_umap 2011-06-10 14:28:20 +00:00
sys_update.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sys_vinb.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vinl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vinw.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vircopy.c Remote unused segctl kernel call 2011-04-26 23:28:23 +02:00
sys_vmctl.c kernel/vm: change pde table info from single buffer to explicit per-process. 2010-05-12 08:31:05 +00:00
sys_voutb.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_voutl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_voutw.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vsafecopy.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vtimer.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
syslib.h Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sysutil.h Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
taskcall.c More cleanup to remove MM and FS references 2010-06-10 14:04:46 +00:00
tickdelay.c IPC status code for receive(). 2010-03-23 00:09:11 +00:00
timers.c move timers code to libsys 2010-07-09 12:58:18 +00:00
timing.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
tsc_util.c libsys: fix micro_delay() 2011-04-08 16:57:44 +00:00
vm_brk.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
vm_exec_newmem.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_exit.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_fork.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_info.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_map_phys.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
vm_notify_sig.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_push_sig.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_umap.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_yield_get_block.c secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
vprintf.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00