diff options
| author | Marco Vanotti <mvanotti@users.noreply.github.com> | 2019-04-22 11:08:29 -0700 |
|---|---|---|
| committer | Julia Hansbrough <flowerhack@google.com> | 2019-04-22 11:08:29 -0700 |
| commit | 53199d6e8aee5f0ebd3775d2b1c674f4e6e64e2b (patch) | |
| tree | 67dd5b456984332244a4113699fa0b7b02cfacfb /sys/fuchsia/vmos.txt | |
| parent | 4d3be36006c006fe859f4db89dfe396176eac12d (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/vmos.txt')
| -rw-r--r-- | sys/fuchsia/vmos.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/fuchsia/vmos.txt b/sys/fuchsia/vmos.txt index d2125db4e..c8f1b99c5 100644 --- a/sys/fuchsia/vmos.txt +++ b/sys/fuchsia/vmos.txt @@ -7,8 +7,8 @@ include <zircon/types.h> resource zx_vmo[zx_handle] zx_vmo_create(size int64, options flags[vmo_create_options], out ptr[out, zx_vmo]) -zx_vmo_read(handle zx_vmo, data ptr[out, array[int8]], offset int64, len intptr, actual ptr[out, intptr]) -zx_vmo_write(handle zx_vmo, data ptr[in, array[int8]], offset int64, len intptr, actual ptr[out, intptr]) +zx_vmo_read(handle zx_vmo, data ptr[out, array[int8]], offset int64, len intptr) +zx_vmo_write(handle zx_vmo, data ptr[in, array[int8]], offset int64, len intptr) zx_vmo_clone(handle zx_vmo, options flags[vmo_clone_options], offset int64, size int64, out ptr[out, zx_vmo]) zx_vmo_get_size(handle zx_vmo, size ptr[out, int64]) zx_vmo_set_size(handle zx_vmo, size int64) @@ -18,10 +18,11 @@ zx_vmo_op_range$ZX_VMO_OP_CACHE_SYNC(handle zx_vmo, op const[ZX_VMO_OP_CACHE_SYN zx_vmo_op_range$ZX_VMO_OP_CACHE_INVALIDATE(handle zx_vmo, op const[ZX_VMO_OP_CACHE_INVALIDATE], offset int64, size int64, data const[0], buffer_size const[0]) zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN(handle zx_vmo, op const[ZX_VMO_OP_CACHE_CLEAN], offset int64, size int64, data const[0], buffer_size const[0]) zx_vmo_op_range$ZX_VMO_OP_CACHE_CLEAN_INVALIDATE(handle zx_vmo, op const[ZX_VMO_OP_CACHE_CLEAN_INVALIDATE], offset int64, size int64, data const[0], buffer_size const[0]) +zx_vmo_replace_as_executable(handle zx_vmo, res const[ZX_HANDLE_INVALID], out ptr[out, zx_vmo]) # Not public: zx_vmo_set_cache_policy(handle zx_vmo, cache_policy flags[vmo_cache_policy]) vmo_create_options = 0, ZX_VMO_NON_RESIZABLE -vmo_clone_options = ZX_VMO_CLONE_COPY_ON_WRITE +vmo_clone_options = ZX_VMO_CLONE_COPY_ON_WRITE, ZX_VMO_CLONE_NON_RESIZEABLE vmo_cache_policy = ZX_CACHE_POLICY_CACHED, ZX_CACHE_POLICY_UNCACHED, ZX_CACHE_POLICY_UNCACHED_DEVICE, ZX_CACHE_POLICY_WRITE_COMBINING |
