NetBSD/sys/compat/darwin
manu 9b84721494 Added implementation for cthread_self() and cthread_set_self(). Theses are
used to get and set the thread user value, which is an opaque pointer to
a per thread structure stored in userland. cthread_self() is used by Darwin
as an implementation for pthread_self(), which return the thread id.

We use the p_emuldata field of struct proc in order to keep track of the
thread user value. For now the value is per-process, but we will make it
per-thread when we will take care of threading.

While we are there, do some KNF
2002-12-07 15:33:01 +00:00
..
darwin_exec.c Added implementation for cthread_self() and cthread_set_self(). Theses are 2002-12-07 15:33:01 +00:00
darwin_exec.h Added implementation for cthread_self() and cthread_set_self(). Theses are 2002-12-07 15:33:01 +00:00
darwin_mman.c In load_shared_file, do zero-fill uninitialized data segments that 2002-12-05 22:48:53 +00:00
darwin_signal.c Filter the flag bits we get from Darwin's sigaction when giving them to 2002-11-29 13:17:22 +00:00
darwin_signal.h Filter the flag bits we get from Darwin's sigaction when giving them to 2002-11-29 13:17:22 +00:00
darwin_syscall.h regen 2002-11-25 22:26:21 +00:00
darwin_syscallargs.h regen 2002-11-25 22:26:21 +00:00
darwin_syscalls.c regen 2002-11-25 22:26:21 +00:00
darwin_sysctl.c Added a few kern sysctl which are the same on Darwin and NetBSD. 2002-11-29 13:18:09 +00:00
darwin_sysctl.h Add support for two Darwin sysctl 2002-11-23 02:18:53 +00:00
darwin_sysent.c regen 2002-11-25 22:26:21 +00:00
files.darwin Added an empty shell for signal delivery. Now we just have to fill the 2002-11-25 22:25:12 +00:00
Makefile
syscalls.conf Use FreeBSD emulation to get pathname lookups in /emul/darwin. These FreeBSD 2002-11-14 21:47:15 +00:00
syscalls.master Added an empty shell for signal delivery. Now we just have to fill the 2002-11-25 22:25:12 +00:00