NetBSD/sys/compat
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
..
aout set struct emul's nsysent to compat SYS_NSYSENT, not SYS_MAXSYSCALL 2002-11-01 19:26:21 +00:00
aoutm68k handle __HAVE_MINIMAL_EMUL 2002-11-10 20:59:03 +00:00
common add emul_find_interp() function: the function looks for interpreter 2002-11-29 17:08:06 +00:00
darwin Added implementation for cthread_self() and cthread_set_self(). Theses are 2002-12-07 15:33:01 +00:00
freebsd Get the dynamic interpreter location using emul_find_interp(), so that 2002-11-29 19:13:14 +00:00
hpux Complete the rename: s/sa_/<compat>_sa_/g 2002-11-27 16:44:01 +00:00
ibcs2 Get the dynamic interpreter location using emul_find_interp(), so that 2002-11-29 19:13:14 +00:00
irix move ELF-specific items from irix_exec.c to irix_exec_elf32.c 2002-11-30 13:18:13 +00:00
linux Fix namespace collision caused by recent change to "linux_machdep.h". 2002-12-06 10:51:27 +00:00
m68k4k count executable image pages as executable for vm-usage purposes. 2002-10-05 22:34:02 +00:00
mach Added implementation for cthread_self() and cthread_set_self(). Theses are 2002-12-07 15:33:01 +00:00
netbsd32 After a discussion with various folks, fix the strict-alias warning 2002-12-06 12:00:57 +00:00
osf1 Get the dynamic interpreter location using emul_find_interp(), so that 2002-11-29 19:40:14 +00:00
ossaudio
pecoff add comment why this doesn't need to use emul_find_interp() 2002-11-29 19:35:25 +00:00
sunos handle __HAVE_MINIMAL_EMUL 2002-11-10 20:59:03 +00:00
sunos32 handle __HAVE_MINIMAL_EMUL 2002-11-10 20:59:03 +00:00
svr4 Get the dynamic interpreter location using emul_find_interp(), so that 2002-11-29 19:13:14 +00:00
svr4_32 Get the dynamic interpreter location using emul_find_interp(), so that 2002-11-29 19:13:14 +00:00
ultrix retval is 'register_t *', not 'int *' 2002-11-02 17:05:19 +00:00
vax1k
Makefile Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more. 2002-11-26 23:30:07 +00:00