blob: 5e755021c5bf4f77f43ea41aa1e47a216ef67aa4 [file] [log] [blame]
// Copyright 2020 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.
library fuchsia.kernel;
using zx;
/// Protocol for providing a `ZX_RSRC_KIND_SYSTEM` with base
/// `ZX_RSRC_SYSTEM_POWER_BASE`.
@discoverable
protocol PowerResource {
/// Get a power resource handle as `power_resource`.
Get() -> (resource struct {
power_resource zx.handle:RESOURCE;
});
};