diff options
author | ed <ed@FreeBSD.org> | 2015-07-21 12:47:15 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2015-07-21 12:47:15 +0000 |
commit | 5b106acac60edb18e65da41c7d972e6217d3fbb6 (patch) | |
tree | 2d981606b2543b919e648010f75b630229796277 /contrib/llvm/lib/CodeGen/LatencyPriorityQueue.cpp | |
parent | 4aefee1269a9b8702f23889219ed58bd3486ad73 (diff) | |
download | FreeBSD-src-5b106acac60edb18e65da41c7d972e6217d3fbb6.zip FreeBSD-src-5b106acac60edb18e65da41c7d972e6217d3fbb6.tar.gz |
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
Diffstat (limited to 'contrib/llvm/lib/CodeGen/LatencyPriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions