| // 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 an IRQ resource with access to all valid ranges. | |
| @discoverable | |
| protocol IrqResource { | |
| /// Get the IRQ resource handle. | |
| Get() -> (resource struct { | |
| irq_resource zx.handle:RESOURCE; | |
| }); | |
| }; |