mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 07:06:47 +00:00
add todo: 编译选项只能开启O0的问题
This commit is contained in:
parent
b2614801ac
commit
34bd3b6082
@ -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" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user