blob: 018008a2f2cef5164e56b86e807c0a24517f87cf [file] [log] [blame]
// Copyright 2022 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.hardware.interrupt;
using zx;
@discoverable
closed protocol Provider {
/// Get the interrupt represented by this provider.
strict Get() -> (resource struct {
interrupt zx.Handle:INTERRUPT;
}) error zx.Status;
};
service Service {
provider client_end:Provider;
};