freebsd-dev/sys/compat/cloudabi64
Ed Schouten 21d30b29d5 Make thread creation work for CloudABI processes.
Summary:
Remove the stub system call that was put in place during the system call
import and replace it by a target-dependent version stored in sys/amd64.
Initialize the thread in a way similar to cpu_set_upcall_kse(). We
provide the entry point with two arguments: the thread ID and the
argument pointer.

Test Plan:
Thread creation still seems to work, both for FreeBSD and CloudABI
binaries.

Reviewers: dchagin, mjg, kib

Reviewed By: kib

Subscribers: imp

Differential Revision: https://reviews.freebsd.org/D3110
2015-07-21 12:47:15 +00:00
..
cloudabi64_fd.c Implement {,p}{read,write}{,v}(). 2015-07-14 14:33:21 +00:00
cloudabi64_poll.c
cloudabi64_proto.h Regenerate system call table for r285540. 2015-07-14 15:12:24 +00:00
cloudabi64_sock.c
cloudabi64_syscall.h Regenerate system call table for r285540. 2015-07-14 15:12:24 +00:00
cloudabi64_syscalldefs.h
cloudabi64_syscalls.c Regenerate system call table for r285540. 2015-07-14 15:12:24 +00:00
cloudabi64_sysent.c Regenerate system call table for r285540. 2015-07-14 15:12:24 +00:00
cloudabi64_systrace_args.c Regenerate system call table for r285540. 2015-07-14 15:12:24 +00:00
cloudabi64_thread.c Make thread creation work for CloudABI processes. 2015-07-21 12:47:15 +00:00
cloudabi64_util.h Make thread creation work for CloudABI processes. 2015-07-21 12:47:15 +00:00
Makefile
syscalls.conf
syscalls.master Implement thread_tcb_set() and thread_yield(). 2015-07-14 15:11:50 +00:00