diff options
Diffstat (limited to 'kc/core/cpu/irq.h')
| -rw-r--r-- | kc/core/cpu/irq.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kc/core/cpu/irq.h b/kc/core/cpu/irq.h index 529f385..9ee3a98 100644 --- a/kc/core/cpu/irq.h +++ b/kc/core/cpu/irq.h @@ -4,8 +4,10 @@ #ifndef __ASSEMBLER__ -void irq_lock(void); -void irq_unlock(void); +#include <stdint.h> + +uint64_t irq_lock(void); +void irq_unlock(uint64_t flags); #else |
