Skip to content
Permalink
Browse files

sys/fuchsia: update fidl mappings.

This commit is just a run of make extract + make generate with an up to
date fuchsia tree. This commit only updates the fidl definitions, there
are some other syscalls that had changed and need to be manually updated
(that will come in a future commit).
  • Loading branch information...
mvanotti authored and dvyukov committed Nov 21, 2018
1 parent 5a0d6e0 commit 5d9a39247f5b730bf729d8c85b2c3e8469dd72a7
@@ -35,7 +35,7 @@

#if GOARCH_amd64
#define GOARCH "amd64"
#define SYZ_REVISION "10918eaa4696a9df4961ecf0e72042e805e814f6"
#define SYZ_REVISION "e041d30459ccafba3164bdcadc41bd573fff973e"
#define SYZ_EXECUTOR_USES_FORK_SERVER 0
#define SYZ_EXECUTOR_USES_SHMEM 0
#define SYZ_PAGE_SIZE 4096
@@ -45,7 +45,7 @@

#if GOARCH_arm64
#define GOARCH "arm64"
#define SYZ_REVISION "0921e5c7c43e273ab8675658a8ff52a08f56e244"
#define SYZ_REVISION "675d49c5342ae2300c2f2d45d826af5790a2ad4a"
#define SYZ_EXECUTOR_USES_FORK_SERVER 0
#define SYZ_EXECUTOR_USES_SHMEM 0
#define SYZ_PAGE_SIZE 4096
@@ -532,6 +532,7 @@ const call_t syscalls[] = {
{"fdio_service_connect$fuchsia_timezone_TimeService", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_timezone_Timezone", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_timezone_TimezoneWatcher", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$zircon_ethernet_Device", 0, (syscall_t)fdio_service_connect},
{"fstat", 0, (syscall_t)fstat},
{"fsync", 0, (syscall_t)fsync},
{"ftruncate", 0, (syscall_t)ftruncate},
@@ -684,8 +685,10 @@ const call_t syscalls[] = {
{"zx_channel_call$fuchsia_mediacodec_CodecSync", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_LegacySocketProviderGetAddrInfo", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_LegacySocketProviderOpenSocket", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackAddEthernetInterface", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackAddForwardingEntry", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackAddInterfaceAddress", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackDelEthernetInterface", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackDelForwardingEntry", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackDelInterfaceAddress", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackDisableInterface", 0, (syscall_t)zx_channel_call},
@@ -703,6 +706,21 @@ const call_t syscalls[] = {
{"zx_channel_call$fuchsia_timezone_TimezoneGetTimezoneId", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_timezone_TimezoneGetTimezoneOffsetMinutes", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_timezone_TimezoneSetTimezone", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceConfigMulticastAddMac", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceConfigMulticastDeleteMac", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceConfigMulticastSetPromiscuousMode", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceConfigMulticastTestFilter", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceDumpRegisters", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceGetFifos", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceGetInfo", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceGetStatus", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceListenStart", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceListenStop", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceSetClientName", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceSetIOBuffer", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceSetPromiscuousMode", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceStart", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceStop", 0, (syscall_t)zx_channel_call},
{"zx_channel_create", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_cobalt_Controller", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_cobalt_Logger", 0, (syscall_t)zx_channel_create},
@@ -731,6 +749,7 @@ const call_t syscalls[] = {
{"zx_channel_create$fuchsia_timezone_TimeService", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_timezone_Timezone", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_timezone_TimezoneWatcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$zircon_ethernet_Device", 0, (syscall_t)zx_channel_create},
{"zx_channel_read", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_DirectoryAdminOnOpen", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_DirectoryOnOpen", 0, (syscall_t)zx_channel_read},
@@ -932,6 +951,7 @@ const call_t syscalls[] = {
{"fdio_service_connect$fuchsia_timezone_TimeService", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_timezone_Timezone", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$fuchsia_timezone_TimezoneWatcher", 0, (syscall_t)fdio_service_connect},
{"fdio_service_connect$zircon_ethernet_Device", 0, (syscall_t)fdio_service_connect},
{"fstat", 0, (syscall_t)fstat},
{"fsync", 0, (syscall_t)fsync},
{"ftruncate", 0, (syscall_t)ftruncate},
@@ -1084,8 +1104,10 @@ const call_t syscalls[] = {
{"zx_channel_call$fuchsia_mediacodec_CodecSync", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_LegacySocketProviderGetAddrInfo", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_LegacySocketProviderOpenSocket", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackAddEthernetInterface", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackAddForwardingEntry", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackAddInterfaceAddress", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackDelEthernetInterface", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackDelForwardingEntry", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackDelInterfaceAddress", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_net_stack_StackDisableInterface", 0, (syscall_t)zx_channel_call},
@@ -1103,6 +1125,21 @@ const call_t syscalls[] = {
{"zx_channel_call$fuchsia_timezone_TimezoneGetTimezoneId", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_timezone_TimezoneGetTimezoneOffsetMinutes", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$fuchsia_timezone_TimezoneSetTimezone", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceConfigMulticastAddMac", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceConfigMulticastDeleteMac", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceConfigMulticastSetPromiscuousMode", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceConfigMulticastTestFilter", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceDumpRegisters", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceGetFifos", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceGetInfo", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceGetStatus", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceListenStart", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceListenStop", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceSetClientName", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceSetIOBuffer", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceSetPromiscuousMode", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceStart", 0, (syscall_t)zx_channel_call},
{"zx_channel_call$zircon_ethernet_DeviceStop", 0, (syscall_t)zx_channel_call},
{"zx_channel_create", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_cobalt_Controller", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_cobalt_Logger", 0, (syscall_t)zx_channel_create},
@@ -1131,6 +1168,7 @@ const call_t syscalls[] = {
{"zx_channel_create$fuchsia_timezone_TimeService", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_timezone_Timezone", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$fuchsia_timezone_TimezoneWatcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_create$zircon_ethernet_Device", 0, (syscall_t)zx_channel_create},
{"zx_channel_read", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_DirectoryAdminOnOpen", 0, (syscall_t)zx_channel_read},
{"zx_channel_read$fuchsia_io_DirectoryOnOpen", 0, (syscall_t)zx_channel_read},
@@ -69,6 +69,7 @@ fuchsia_mediacodec_CodecPacketHeaderHandles {

fuchsia_mediacodec_CodecPacketInLine {
headerInLine fuchsia_mediacodec_CodecPacketHeaderInLine
buffer_index int32
stream_lifetime_ordinal int64
start_offset int32
valid_length_bytes int32
@@ -128,6 +129,11 @@ fuchsia_mediacodec_VideoUncompressedFormatInLine {
tertiary_start_offset int32
primary_pixel_stride int32
secondary_pixel_stride int32
primary_display_width_pixels int32
primary_display_height_pixels int32
has_pixel_aspect_ratio int8
pixel_aspect_ratio_width int32
pixel_aspect_ratio_height int32
special_formatsInLine fuchsia_mediacodec_VideoUncompressedFormatSpecificDetailsInLine
} [packed]

@@ -20,7 +20,7 @@ fuchsia_net_stack_InterfaceAddressHandles {
} [packed]

fuchsia_net_stack_InterfaceInfoHandles {
mac fuchsia_net_MacAddressHandles
mac zircon_ethernet_MacAddressHandles
addresses array[fuchsia_net_stack_InterfaceAddressHandles]
} [packed]

@@ -54,6 +54,34 @@ fuchsia_net_stack_ForwardingDestinationInLine [
next_hopInLine fidl_union_member[fuchsia_net_stack_ForwardingDestinationTag_nextHop, fuchsia_net_IpAddressInLine]
]

fuchsia_net_stack_StackAddEthernetInterfaceRequest {
hdr fidl_message_header[1]
topological_pathInLine fidl_string
device flags[fidl_handle_presence, int32]
topological_pathOutOfLine fidl_aligned[stringnoz]
} [packed]

fuchsia_net_stack_StackAddEthernetInterfaceRequestHandles {
device zx_chan_zircon_ethernet_Device_client
} [packed]

fuchsia_net_stack_StackAddEthernetInterfaceResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]

fuchsia_net_stack_StackDelEthernetInterfaceRequest {
hdr fidl_message_header[2]
id int64
} [packed]

fuchsia_net_stack_StackDelEthernetInterfaceRequestHandles {
void void
} [packed]

fuchsia_net_stack_StackDelEthernetInterfaceResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]

fuchsia_net_stack_StackListInterfacesRequest {
hdr fidl_message_header[256]
} [packed]
@@ -188,6 +216,8 @@ resource zx_chan_fuchsia_net_stack_Stack_server[zx_chan]

zx_channel_create$fuchsia_net_stack_Stack(options const[0], out0 ptr[out, zx_chan_fuchsia_net_stack_Stack_client], out1 ptr[out, zx_chan_fuchsia_net_stack_Stack_server])
fdio_service_connect$fuchsia_net_stack_Stack(path ptr[in, string["/svc/fuchsia.net.stack.Stack"]], handle zx_chan_fuchsia_net_stack_Stack_server)
zx_channel_call$fuchsia_net_stack_StackAddEthernetInterface(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackAddEthernetInterfaceRequest, fuchsia_net_stack_StackAddEthernetInterfaceRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackAddEthernetInterfaceResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackDelEthernetInterface(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackDelEthernetInterfaceRequest, fuchsia_net_stack_StackDelEthernetInterfaceRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackDelEthernetInterfaceResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackListInterfaces(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackListInterfacesRequest, fuchsia_net_stack_StackListInterfacesRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackListInterfacesResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackGetInterfaceInfo(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackGetInterfaceInfoRequest, fuchsia_net_stack_StackGetInterfaceInfoRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackGetInterfaceInfoResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackEnableInterface(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackEnableInterfaceRequest, fuchsia_net_stack_StackEnableInterfaceRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackEnableInterfaceResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
@@ -29,23 +29,6 @@ fuchsia_net_SubnetHandles {
void void
} [packed]

fuchsia_net_MacAddressHandles {
void void
} [packed]

fuchsia_net_StringInLine {
valInLine array[int8, 256]
len_ int32
} [packed]

fuchsia_net_StringOutOfLine {
void void
} [packed]

fuchsia_net_StringHandles {
void void
} [packed]

fuchsia_net_AddrInfoHintsInLine {
flags_ int32
family int32
@@ -102,25 +85,20 @@ fuchsia_net_LegacySocketProviderOpenSocketResponseHandles {

fuchsia_net_LegacySocketProviderGetAddrInfoRequest {
hdr fidl_message_header[2]
nodeInLine fuchsia_net_StringInLine
serviceInLine fuchsia_net_StringInLine
nodeInLine fidl_string
serviceInLine fidl_string
hintsInLine fuchsia_net_AddrInfoHintsInLine
nodeOutOfLine fuchsia_net_StringOutOfLine
serviceOutOfLine fuchsia_net_StringOutOfLine
nodeOutOfLine fidl_aligned[stringnoz]
serviceOutOfLine fidl_aligned[stringnoz]
hintsOutOfLine fuchsia_net_AddrInfoHintsOutOfLine
} [packed]

fuchsia_net_LegacySocketProviderGetAddrInfoRequestHandles {
node fuchsia_net_StringHandles
service fuchsia_net_StringHandles
hints fuchsia_net_AddrInfoHintsHandles
} [packed]

fuchsia_net_LegacySocketProviderGetAddrInfoResponseHandles {
ai0 fuchsia_net_AddrInfoHandles
ai1 fuchsia_net_AddrInfoHandles
ai2 fuchsia_net_AddrInfoHandles
ai3 fuchsia_net_AddrInfoHandles
resHandles array[fuchsia_net_AddrInfoHandles, 4]
} [packed]

resource zx_chan_fuchsia_net_LegacySocketProvider_client[zx_chan]
Oops, something went wrong.

0 comments on commit 5d9a392

Please sign in to comment.
You can’t perform that action at this time.