bugfix: 当进程在内核态退出后,屏幕刷新软中断会一直保持在pending的状态的bug

This commit is contained in:
fslongjin
2022-07-26 16:16:25 +08:00
parent 53fcc0c1e5
commit eed9077675
4 changed files with 15 additions and 6 deletions

View File

@ -106,6 +106,11 @@ void do_softirq()
cli();
}
int clear_softirq_pending(uint32_t irq_num)
{
clear_softirq_running(irq_num);
}
void softirq_init()
{
softirq_pending = 0;