mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 13:16:31 +00:00
🔧 将部分中断信息显示,统一到kprint
This commit is contained in:
@ -85,7 +85,7 @@ void system_initialize()
|
||||
// 先初始化系统调用模块
|
||||
syscall_init();
|
||||
|
||||
|
||||
while(1);
|
||||
|
||||
// 再初始化进程模块。顺序不能调转
|
||||
process_init();
|
||||
@ -106,8 +106,6 @@ void Start_Kernel(void)
|
||||
|
||||
void ignore_int()
|
||||
{
|
||||
printk("[");
|
||||
printk_color(YELLOW, BLACK, "WARN");
|
||||
printk("] Unknown interrupt or fault at RIP.\n");
|
||||
kwarn("Unknown interrupt or fault at RIP.\n");
|
||||
return;
|
||||
}
|
Reference in New Issue
Block a user