mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
增加了uart输出的条件编译
This commit is contained in:
@ -84,7 +84,9 @@ void system_initialize()
|
||||
|
||||
// 初始化printk
|
||||
printk_init(8, 16);
|
||||
#ifdef DEBUG
|
||||
uart_init(COM1, 115200);
|
||||
#endif
|
||||
kinfo("Kernel Starting...");
|
||||
// 重新加载gdt和idt
|
||||
|
||||
|
Reference in New Issue
Block a user