]> git.sur5r.net Git - freertos/blob
9e6f2faf6aad59cbda06236a1fdcb2bfe3ba6e5c
[freertos] /
1 /* Copyright 2018 SiFive, Inc */
2 /* SPDX-License-Identifier: Apache-2.0 */
3
4 #ifndef METAL__DRIVERS__SIFIVE_GLOBAL_EXTERNAL_INTERRUPTS0_H
5 #define METAL__DRIVERS__SIFIVE_GLOBAL_EXTERNAL_INTERRUPTS0_H
6
7 #include <metal/compiler.h>
8 #include <metal/drivers/riscv_cpu.h>
9
10 struct __metal_driver_vtable_sifive_global_external_interrupts0 {
11     struct metal_interrupt_vtable global0_vtable;
12 };
13
14 __METAL_DECLARE_VTABLE(__metal_driver_vtable_sifive_global_external_interrupts0)
15
16 struct __metal_driver_sifive_global_external_interrupts0 {
17     struct metal_interrupt irc;
18     int init_done;
19 };
20
21 #endif