diff options
| author | Ada Christine <adachristine18@gmail.com> | 2023-02-13 23:00:24 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2023-02-13 23:00:24 +0000 |
| commit | 6cdf57afc0a1da4abec33527cc70626d704ba565 (patch) | |
| tree | 8351f6594d1fa8007035632f4ab4fbf47b011565 | |
| parent | 1e6ab2f15c8cdd7951f85a662f73efabb83325f2 (diff) | |
irq needs to be an immediate :«
| -rw-r--r-- | kc/core/cpu/irq.h | 2 |
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 |
