aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia/tasks.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/tasks.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/tasks.txt')
-rw-r--r--sys/fuchsia/tasks.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/fuchsia/tasks.txt b/sys/fuchsia/tasks.txt
index e42333303..48fcff106 100644
--- a/sys/fuchsia/tasks.txt
+++ b/sys/fuchsia/tasks.txt
@@ -7,8 +7,12 @@ include <zircon/syscalls/exception.h>
resource zx_task[zx_handle]
zx_task_bind_exception_port(task zx_task, eport zx_port, key proc[1000, 4], options flags[exception_port_options])
+zx_task_create_exception_channel(task zx_task, options flags[exception_port_options], out ptr[out, zx_chan])
+zx_task_resume_from_exception(task zx_task, eport zx_port, options flags[task_resume_options])
# This is disabled until we figure out how to prevent executor from killing fuzzer (#594).
# zx_task_kill(handle zx_task)
+# zx_task_suspend(handle zx_task, token ptr[out, zx_handle])
exception_port_options = ZX_EXCEPTION_PORT_DEBUGGER
+task_resume_options = ZX_RESUME_TRY_NEXT