summaryrefslogtreecommitdiff
path: root/kc/core/cpu/irq.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2023-02-14 15:14:35 +0000
committerAda Christine <adachristine18@gmail.com>2023-02-14 15:14:35 +0000
commit9fd358e9395aae73622bdcf58ebe43f12671c990 (patch)
treeb9bd20fba6ee4a7da84d54d2208e17a49c0305d5 /kc/core/cpu/irq.h
parentf59e168c504f50de7b2ff77af0c1b1cfe0483e7b (diff)
refactors
Diffstat (limited to 'kc/core/cpu/irq.h')
-rw-r--r--kc/core/cpu/irq.h6
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