aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia
diff options
context:
space:
mode:
authorMarco Vanotti <mvanotti@google.com>2019-06-13 14:24:18 -0700
committerDmitry Vyukov <dvyukov@google.com>2019-07-16 16:34:29 +0200
commit48bc210db41b5aadcf35dd4292170916dd26cced (patch)
tree349ca10fc73e99cbf5fdc2c2c378323dcfbe4415 /sys/fuchsia
parent9ba1e9ae4bfd1e74250db02c5214dca1e9a58814 (diff)
sys/fuchsia: remove power fidl definitions.
This commit removes the fuchsia-power fidl definitions. The interface doesn't have a service implementing it in fuchsia, and it is causing issues in make extract.
Diffstat (limited to 'sys/fuchsia')
-rw-r--r--sys/fuchsia/fuchsia_power.syz.txt73
-rw-r--r--sys/fuchsia/fuchsia_power.syz_amd64.const4
-rw-r--r--sys/fuchsia/fuchsia_power.syz_arm64.const4
-rw-r--r--sys/fuchsia/layout/fidl_mappings.go1
4 files changed, 0 insertions, 82 deletions
diff --git a/sys/fuchsia/fuchsia_power.syz.txt b/sys/fuchsia/fuchsia_power.syz.txt
deleted file mode 100644
index f6bb15ce0..000000000
--- a/sys/fuchsia/fuchsia_power.syz.txt
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2018 The Fuchsia Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
-#
-# WARNING: This file is machine generated by fidlgen.
-
-include <fuchsia/power/c/fidl.h>
-fuchsia_power_Status = fuchsia_power_Status_OK, fuchsia_power_Status_NotAvailable
-
-fuchsia_power_BatteryStatusInLine {
- status flags[fuchsia_power_Status, int32]
- battery_present int8
- charging int8
- discharging int8
- critical int8
- power_adapter_online int8
- timestamp int64
- level int32
- remaining_battery_life int32
-} [packed]
-
-fuchsia_power_BatteryStatusOutOfLine {
- void void
-} [packed]
-
-fuchsia_power_BatteryStatusHandles {
- void void
-} [packed]
-
-fuchsia_power_PowerManagerGetBatteryStatusRequest {
- hdr fidl_message_header[1245959964]
-} [packed]
-
-fuchsia_power_PowerManagerGetBatteryStatusRequestHandles {
- void void
-} [packed]
-
-fuchsia_power_PowerManagerGetBatteryStatusResponseHandles {
- status fuchsia_power_BatteryStatusHandles
-} [packed]
-
-fuchsia_power_PowerManagerWatchRequest {
- hdr fidl_message_header[1083615561]
- watcher flags[fidl_handle_presence, int32]
-} [packed]
-
-fuchsia_power_PowerManagerWatchRequestHandles {
- watcher zx_chan_fuchsia_power_PowerManagerWatcher_client
-} [packed]
-
-resource zx_chan_fuchsia_power_PowerManager_client[zx_chan]
-resource zx_chan_fuchsia_power_PowerManager_server[zx_chan]
-
-zx_channel_create$fuchsia_power_PowerManager(options const[0], out0 ptr[out, zx_chan_fuchsia_power_PowerManager_client], out1 ptr[out, zx_chan_fuchsia_power_PowerManager_server])
-fdio_service_connect$fuchsia_power_PowerManager(path ptr[in, string["/svc/fuchsia.power.PowerManager"]], handle zx_chan_fuchsia_power_PowerManager_server)
-zx_channel_call$fuchsia_power_PowerManagerGetBatteryStatus(handle zx_chan_fuchsia_power_PowerManager_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_power_PowerManagerGetBatteryStatusRequest, fuchsia_power_PowerManagerGetBatteryStatusRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_power_PowerManagerGetBatteryStatusResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
-zx_channel_write$fuchsia_power_PowerManagerWatch(handle zx_chan_fuchsia_power_PowerManager_client, options const[0], bytes ptr[in, fuchsia_power_PowerManagerWatchRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_power_PowerManagerWatchRequestHandles], num_handles bytesize[handles])
-
-fuchsia_power_PowerManagerWatcherOnChangeBatteryStatusRequest {
- hdr fidl_message_header[1282068360]
- battery_statusInLine fuchsia_power_BatteryStatusInLine
- battery_statusOutOfLine fuchsia_power_BatteryStatusOutOfLine
-} [packed]
-
-fuchsia_power_PowerManagerWatcherOnChangeBatteryStatusRequestHandles {
- battery_status fuchsia_power_BatteryStatusHandles
-} [packed]
-
-resource zx_chan_fuchsia_power_PowerManagerWatcher_client[zx_chan]
-resource zx_chan_fuchsia_power_PowerManagerWatcher_server[zx_chan]
-
-zx_channel_create$fuchsia_power_PowerManagerWatcher(options const[0], out0 ptr[out, zx_chan_fuchsia_power_PowerManagerWatcher_client], out1 ptr[out, zx_chan_fuchsia_power_PowerManagerWatcher_server])
-fdio_service_connect$fuchsia_power_PowerManagerWatcher(path ptr[in, string["/svc/"]], handle zx_chan_fuchsia_power_PowerManagerWatcher_server)
-zx_channel_write$fuchsia_power_PowerManagerWatcherOnChangeBatteryStatus(handle zx_chan_fuchsia_power_PowerManagerWatcher_client, options const[0], bytes ptr[in, fuchsia_power_PowerManagerWatcherOnChangeBatteryStatusRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_power_PowerManagerWatcherOnChangeBatteryStatusRequestHandles], num_handles bytesize[handles])
diff --git a/sys/fuchsia/fuchsia_power.syz_amd64.const b/sys/fuchsia/fuchsia_power.syz_amd64.const
deleted file mode 100644
index 7d1063bef..000000000
--- a/sys/fuchsia/fuchsia_power.syz_amd64.const
+++ /dev/null
@@ -1,4 +0,0 @@
-# AUTOGENERATED FILE
-ZX_CHANNEL_MAX_MSG_BYTES = 65536
-fuchsia_power_Status_NotAvailable = 1
-fuchsia_power_Status_OK = 0
diff --git a/sys/fuchsia/fuchsia_power.syz_arm64.const b/sys/fuchsia/fuchsia_power.syz_arm64.const
deleted file mode 100644
index 7d1063bef..000000000
--- a/sys/fuchsia/fuchsia_power.syz_arm64.const
+++ /dev/null
@@ -1,4 +0,0 @@
-# AUTOGENERATED FILE
-ZX_CHANNEL_MAX_MSG_BYTES = 65536
-fuchsia_power_Status_NotAvailable = 1
-fuchsia_power_Status_OK = 0
diff --git a/sys/fuchsia/layout/fidl_mappings.go b/sys/fuchsia/layout/fidl_mappings.go
index dd5e3c678..48bcf7ca8 100644
--- a/sys/fuchsia/layout/fidl_mappings.go
+++ b/sys/fuchsia/layout/fidl_mappings.go
@@ -41,7 +41,6 @@ var AllFidlLibraries = []FidlLibrary{
{zircon, []string{"fuchsia", "hardware", "ethernet"}},
{garnet, []string{"fuchsia", "devicesettings"}},
{garnet, []string{"fuchsia", "timezone"}},
- {garnet, []string{"fuchsia", "power"}},
{garnet, []string{"fuchsia", "scpi"}},
}