summaryrefslogtreecommitdiff
path: root/kc/core/cpu/irq.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-02-15 15:00:53 +0000
committerAda Christine <adachristine18@gmail.com>2022-02-15 15:00:53 +0000
commit5fc386102380e6c15c81df4fd750f54641535eaa (patch)
treec3aed0635aa10a80e1bbbe46a80e4e67f2be2c39 /kc/core/cpu/irq.h
parent0c1bc025700656ce17bbd71f7d149744d65b7fb6 (diff)
beginning to things out into cpu-dependent and cpu-independent code
Diffstat (limited to 'kc/core/cpu/irq.h')
-rw-r--r--kc/core/cpu/irq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kc/core/cpu/irq.h b/kc/core/cpu/irq.h
index 9874761..9734860 100644
--- a/kc/core/cpu/irq.h
+++ b/kc/core/cpu/irq.h
@@ -3,6 +3,10 @@
#include "interrupt.h"
#ifndef __ASSEMBLER__
+
+void irq_lock(void);
+void irq_unlock(void);
+
#else
.macro IRQ_DECLARE name:req handler:req, irq:req, offset:req