From 53199d6e8aee5f0ebd3775d2b1c674f4e6e64e2b Mon Sep 17 00:00:00 2001 From: Marco Vanotti Date: Mon, 22 Apr 2019 11:08:29 -0700 Subject: 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 --- sys/fuchsia/fifos.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/fuchsia/fifos.txt') diff --git a/sys/fuchsia/fifos.txt b/sys/fuchsia/fifos.txt index 98a348224..cb45859f4 100644 --- a/sys/fuchsia/fifos.txt +++ b/sys/fuchsia/fifos.txt @@ -6,7 +6,7 @@ include resource zx_fifo[zx_handle] zx_fifo_create(elem_count flags[fifo_elem_count], elem_size int32, options const[0], out0 ptr[out, zx_fifo], out1 ptr[out, zx_fifo]) -zx_fifo_read(handle zx_fifo, buffer ptr[out, array[int8]], size len[buffer], num_entries_read ptr[out, int32]) -zx_fifo_write(handle zx_fifo, buffer ptr[in, array[int8]], size len[buffer], num_entries_written ptr[out, int32]) +zx_fifo_read(handle zx_fifo, size len[buffer], buffer ptr[out, array[int8]], num_entries_read ptr[out, int32]) +zx_fifo_write(handle zx_fifo, size len[buffer], buffer ptr[in, array[int8]], num_entries_written ptr[out, int32]) fifo_elem_count = 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096 -- cgit mrf-deployment