aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia/threads.txt
diff options
context:
space:
mode:
authorMarco Vanotti <mvanotti@users.noreply.github.com>2019-04-22 11:08:29 -0700
committerJulia Hansbrough <flowerhack@google.com>2019-04-22 11:08:29 -0700
commit53199d6e8aee5f0ebd3775d2b1c674f4e6e64e2b (patch)
tree67dd5b456984332244a4113699fa0b7b02cfacfb /sys/fuchsia/threads.txt
parent4d3be36006c006fe859f4db89dfe396176eac12d (diff)
Update syscalls (#1116)
* sys/fuchsia: update all syscalls. This commit modifies all the existing syscalls definitions to match more closely the documentation in the Fuchsia repo. * run make extract && make generate
Diffstat (limited to 'sys/fuchsia/threads.txt')
-rw-r--r--sys/fuchsia/threads.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fuchsia/threads.txt b/sys/fuchsia/threads.txt
index 7947703d9..607a7a563 100644
--- a/sys/fuchsia/threads.txt
+++ b/sys/fuchsia/threads.txt
@@ -7,10 +7,10 @@ include <zircon/syscalls/debug.h>
resource zx_thread[zx_task]
zx_thread_create(process zx_process, name ptr[in, string], name_len len[name], options const[0], out ptr[out, zx_thread])
-zx_thread_start(handle zx_thread, entry ptr[in, text[target]], stack ptr[out, array[int8]], arg1 const[0], arg2 const[0])
zx_thread_exit()
# Note: kind corresponds to ZX_THREAD_STATE_REGSET0..9 constants.
-zx_thread_read_state(handle zx_thread, kind int32[0:9], buffer ptr[out, array[int64]], len bytesize[buffer], actual ptr[out, int32])
-zx_thread_read_state$0(handle zx_thread, kind const[0], buffer ptr[out, array[int64, 18]], len bytesize[buffer], actual ptr[out, int32])
+zx_thread_read_state(handle zx_thread, kind int32[0:9], buffer ptr[out, array[int64]], len bytesize[buffer])
+zx_thread_read_state$0(handle zx_thread, kind const[0], buffer ptr[out, array[int64, 18]], len bytesize[buffer])
+zx_thread_start(handle zx_thread, entry ptr[in, text[target]], stack ptr[out, array[int8]], arg1 const[0], arg2 const[0])
zx_thread_write_state(handle zx_thread, kind int32[0:9], buffer ptr[in, array[int64]], len bytesize[buffer])
zx_thread_write_state$0(handle zx_thread, kind const[0], buffer ptr[in, array[int64, 18]], len bytesize[buffer])