diff options
Diffstat (limited to 'include/arch/irq.h')
| -rw-r--r-- | include/arch/irq.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/arch/irq.h b/include/arch/irq.h index 5526b18..7c6a365 100644 --- a/include/arch/irq.h +++ b/include/arch/irq.h @@ -5,6 +5,8 @@ * @file irq.h * Arch-specific interrupt handling, generally implemented in * arch/whatever/kernel/irq.c + * + * @todo These should probably also be stat_t... */ #if defined(riscv64) @@ -13,9 +15,17 @@ #include "../../arch/riscv32/include/irq.h" #endif +/** + * Initialize IRQ subsystem. + * + * @param fdt Global FDT pointer. + */ void init_irq(void *fdt); -void handle_irq(); + +/** Enable IRQs. */ void enable_irq(); + +/** Disable IRQs. */ void disable_irq(); #endif /* APOS_IRQ_H */ |
