freebsd-dev/sys/compat/cloudabi
Ed Schouten 1eb7c7cae3 Implement thread_tcb_set() and thread_yield().
The first system call is used to set the user TLS address. Right now
this system call is invoked by the C library for both the initial thread
and additional threads unconditionally, but in the future we'll only
call this if the architecture does not support this. On recent x86-64
CPUs we could use the WRFSBASE instruction.

This system call was erroneously placed in sys/compat/cloudabi64, even
though it does not depend on any pointer size dependent datastructure.
Move it to the right place.

Obtained from:	https://github.com/NuxiNL/freebsd
2015-07-14 15:11:50 +00:00
..
cloudabi_clock.c
cloudabi_fd.c Use FDDUP_NORMAL instead of hardcoding value 0. 2015-07-11 18:53:30 +00:00
cloudabi_file.c
cloudabi_futex.c
cloudabi_mem.c
cloudabi_proc.c Let proc_raise() call into pksignal() directly. 2015-07-14 12:16:14 +00:00
cloudabi_proto.h
cloudabi_random.c
cloudabi_sock.c
cloudabi_syscalldefs.h
cloudabi_thread.c Implement thread_tcb_set() and thread_yield(). 2015-07-14 15:11:50 +00:00