From 34bd3b60821e2ca24967f9be215260a42f92d1a0 Mon Sep 17 00:00:00 2001 From: fslongjin Date: Mon, 1 Aug 2022 17:33:23 +0800 Subject: [PATCH] =?UTF-8?q?add=20todo:=20=E7=BC=96=E8=AF=91=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E5=8F=AA=E8=83=BD=E5=BC=80=E5=90=AFO0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/exception/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/exception/irq.c b/kernel/exception/irq.c index 567b8c8c..f433d8f6 100644 --- a/kernel/exception/irq.c +++ b/kernel/exception/irq.c @@ -47,7 +47,7 @@ // 构造中断entry // 为了复用返回函数的代码,需要压入一个错误码0 - +// todo: 将这里改为volatile,也许能解决编译选项为O1时,系统崩溃的问题 #define Build_IRQ(number) \ void IRQ_NAME(number); \ __asm__(SYMBOL_NAME_STR(IRQ) #number "interrupt: \n\t" \