include guards for interrupt structures
This commit is contained in:
parent
8c84915b71
commit
e3317e5d64
@ -1,3 +1,5 @@
|
|||||||
|
#ifndef INTERRUPTS_H
|
||||||
|
#define INTERRUPTS_H
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
// There are more interrupts but tbh i doubt we're going to need them
|
// There are more interrupts but tbh i doubt we're going to need them
|
||||||
@ -49,4 +51,5 @@ void interrupt_handler(struct cpu_reg_state*);
|
|||||||
|
|
||||||
// IRQ specifi functions
|
// IRQ specifi functions
|
||||||
void init_irq_handler(u32 irq, void (*handler)(struct cpu_reg_state* cpu));
|
void init_irq_handler(u32 irq, void (*handler)(struct cpu_reg_state* cpu));
|
||||||
void irq_handler(struct cpu_reg_state* cpu);
|
void irq_handler(struct cpu_reg_state* cpu);
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user