freebsd-dev/sys/compat/freebsd32
Marcel Moolenaar cd28f17da2 Change the thread ID (thr_id_t) used for 1:1 threading from being a
pointer to the corresponding struct thread to the thread ID (lwpid_t)
assigned to that thread. The primary reason for this change is that
libthr now internally uses the same ID as the debugger and the kernel
when referencing to a kernel thread. This allows us to implement the
support for debugging without additional translations and/or mappings.

To preserve the ABI, the 1:1 threading syscalls, including the umtx
locking API have not been changed to work on a lwpid_t. Instead the
1:1 threading syscalls operate on long and the umtx locking API has
not been changed except for the contested bit. Previously this was
the least significant bit. Now it's the most significant bit. Since
the contested bit should not be tested by userland, this change is
not expected to be visible. Just to be sure, UMTX_CONTESTED has been
removed from <sys/umtx.h>.

Reviewed by: mtm@
ABI preservation tested on: i386, ia64
2004-07-02 00:40:07 +00:00
..
freebsd32_misc.c Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
freebsd32_proto.h Regen. 2004-07-02 00:38:56 +00:00
freebsd32_syscall.h Regen. 2004-07-02 00:38:56 +00:00
freebsd32_syscalls.c Regen. 2004-07-02 00:38:56 +00:00
freebsd32_sysent.c Regen. 2004-07-02 00:38:56 +00:00
freebsd32_util.h Eliminate stackgap usage for the (woefully incomplete) path translations 2003-12-23 02:48:11 +00:00
freebsd32.h Catch up to the not-so-recent statfs(2) changes. 2004-04-14 23:17:37 +00:00
Makefile Begin attempting to consolidate the two different i386 emulations 2003-08-22 22:51:48 +00:00
syscalls.conf GC unused 'syshide' override to /dev/null. This was here to disable 2003-12-24 00:32:07 +00:00
syscalls.master Change the thread ID (thr_id_t) used for 1:1 threading from being a 2004-07-02 00:40:07 +00:00