summaryrefslogtreecommitdiff
path: root/kc
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2023-02-13 23:00:24 +0000
committerAda Christine <adachristine18@gmail.com>2023-02-13 23:00:24 +0000
commit6cdf57afc0a1da4abec33527cc70626d704ba565 (patch)
tree8351f6594d1fa8007035632f4ab4fbf47b011565 /kc
parent1e6ab2f15c8cdd7951f85a662f73efabb83325f2 (diff)
irq needs to be an immediate :«
Diffstat (limited to 'kc')
-rw-r--r--kc/core/cpu/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kc/core/cpu/irq.h b/kc/core/cpu/irq.h
index 9734860..529f385 100644
--- a/kc/core/cpu/irq.h
+++ b/kc/core/cpu/irq.h
@@ -19,9 +19,9 @@ void irq_unlock(void);
.macro IRQ_DEFINE name:req handler:req, irq:req
\name\()_irq\()\irq\()_isr:
ISR_STORE_PARAM_REGS
- movb \irq, %dil
ISR_STORE_CALLER_REGS
ISR_STORE_CALLEE_REGS
+ mov $\irq, %di
ISR_CALL \handler
ISR_RESTORE_CALLEE_REGS
ISR_RESTORE_CALLER_REGS