1 /* Copyright 2018 SiFive, Inc */
2 /* SPDX-License-Identifier: Apache-2.0 */
4 #ifndef METAL__DRIVERS__SIFIVE_EXTERNAL_INTERRUPTS0_H
5 #define METAL__DRIVERS__SIFIVE_EXTERNAL_INTERRUPTS0_H
7 #include <metal/compiler.h>
8 #include <metal/drivers/riscv_cpu.h>
10 struct __metal_driver_vtable_sifive_local_external_interrupts0 {
11 struct metal_interrupt_vtable local0_vtable;
14 __METAL_DECLARE_VTABLE(__metal_driver_vtable_sifive_local_external_interrupts0)
16 struct __metal_driver_sifive_local_external_interrupts0 {
17 struct metal_interrupt irc;