mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 12:16:31 +00:00
磁盘请求在处理时,切换进程
This commit is contained in:
@ -153,8 +153,13 @@ void smp_ap_start()
|
||||
current_pcb->preempt_count = 0;
|
||||
sti();
|
||||
|
||||
while(1)
|
||||
hlt();
|
||||
|
||||
/*
|
||||
if (proc_current_cpu_id == 1)
|
||||
process_init();
|
||||
*/
|
||||
while (1)
|
||||
{
|
||||
printk_color(BLACK, WHITE, "CPU:%d IDLE process.\n", proc_current_cpu_id);
|
||||
|
Reference in New Issue
Block a user