diff options
| author | Ada Christine <adachristine18@gmail.com> | 2023-02-14 15:14:35 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2023-02-14 15:14:35 +0000 |
| commit | 9fd358e9395aae73622bdcf58ebe43f12671c990 (patch) | |
| tree | b9bd20fba6ee4a7da84d54d2208e17a49c0305d5 /kc/core/cpu/irq.h | |
| parent | f59e168c504f50de7b2ff77af0c1b1cfe0483e7b (diff) | |
refactors
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 |
