aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKouame Behouba Manassé <behouba@gmail.com>2022-06-16 00:48:08 +0300
committerDmitry Vyukov <dvyukov@google.com>2022-06-22 17:43:15 +0200
commitece0c0eeb5438a54efdbc54e357396bb00812c92 (patch)
treebf044b477b34d53fe307b17d337398b334b9773f
parentac6154821bc913aa36150d98c9e9fbcc1b2b71ad (diff)
sys/fuchsia: replace outdated fuchsia syscalls in description files
-rw-r--r--sys/fuchsia/hypervisor_guests.txt2
-rw-r--r--sys/fuchsia/sockets.txt2
-rw-r--r--sys/fuchsia/time.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/fuchsia/hypervisor_guests.txt b/sys/fuchsia/hypervisor_guests.txt
index a5e2a4f78..c41561c62 100644
--- a/sys/fuchsia/hypervisor_guests.txt
+++ b/sys/fuchsia/hypervisor_guests.txt
@@ -12,7 +12,7 @@ zx_guest_set_trap(guest zx_guest, kind int32, vaddr intptr, len intptr, port con
zx_vcpu_create(guest zx_guest, options int32, vaddr intptr, out ptr[out, zx_vcpu])
# TODO: teach this about the port_packet_t struct
-zx_vcpu_resume(vcpu zx_vcpu, port_packet ptr[out, zx_port_packet])
+zx_vcpu_enter(vcpu zx_vcpu, port_packet ptr[out, zx_port_packet])
zx_vcpu_interrupt(vcpu zx_vcpu, vector int32)
zx_vcpu_read_state(vcpu zx_vcpu, kind int32, buffer buffer[in], buflen len[buffer])
zx_vcpu_write_state(vcpu zx_vcpu, kind int32, buffer buffer[out], buflen len[buffer])
diff --git a/sys/fuchsia/sockets.txt b/sys/fuchsia/sockets.txt
index e7fbf634c..3bd35c95e 100644
--- a/sys/fuchsia/sockets.txt
+++ b/sys/fuchsia/sockets.txt
@@ -8,7 +8,7 @@ resource zx_socket[zx_handle]
zx_socket_create(options flags[socket_create_options], out0 ptr[out, zx_socket], out1 ptr[out, zx_socket])
zx_socket_read(handle zx_socket, options flags[socket_read_options], buffer ptr[out, array[int8]], size len[buffer], actual ptr[out, intptr])
zx_socket_write(handle zx_socket, options flags[socket_write_options], buffer ptr[in, array[int8]], size len[buffer], actual ptr[out, intptr])
-zx_socket_shutdown(handlez zx_socket, options flags[socket_shutdown_options])
+zx_socket_set_disposition(handlez zx_socket, options flags[socket_shutdown_options])
socket_create_options = ZX_SOCKET_STREAM, ZX_SOCKET_DATAGRAM
socket_read_options = ZX_SOCKET_CREATE_MASK
diff --git a/sys/fuchsia/time.txt b/sys/fuchsia/time.txt
index a756147bd..805d64f4e 100644
--- a/sys/fuchsia/time.txt
+++ b/sys/fuchsia/time.txt
@@ -6,7 +6,7 @@ include <zircon/syscalls.h>
resource zx_time[int64]: 0, ZX_TIME_INFINITE
zx_nanosleep(deadline zx_time)
-zx_clock_get(clock_id flags[clock_id], zx_time ptr[out, intptr]) (ignore_return)
+zx_clock_read(clock_id flags[clock_id], zx_time ptr[out, intptr]) (ignore_return)
zx_clock_get_monotonic() (ignore_return)
zx_ticks_get() (ignore_return)
zx_ticks_per_second()