🐛 修复了无法切换进程、无法进行浮点运算的bug(将main.c中的init函数名进行修改)

This commit is contained in:
fslongjin
2022-02-12 22:14:51 +08:00
parent 26c23e0e65
commit d1671bc121
19 changed files with 501 additions and 391 deletions

View File

@ -13,6 +13,7 @@
#include "../common/glib.h"
#include "../process/ptrace.h"
/**
* @brief 初始化中断模块
@ -26,4 +27,4 @@ void init_irq();
* @param rsp 中断栈指针
* @param number 中断号
*/
void do_IRQ(ul rsp, ul number);
void do_IRQ(struct pt_regs* rsp, ul number);