From 6cdf57afc0a1da4abec33527cc70626d704ba565 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Mon, 13 Feb 2023 23:00:24 +0000 Subject: irq needs to be an immediate :« MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kc/core/cpu/irq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kc') 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 -- cgit v1.3.1-1-g115d