mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 09:06:32 +00:00
bugfix: 当进程在内核态退出后,屏幕刷新软中断会一直保持在pending的状态的bug
This commit is contained in:
@ -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;
|
||||
|
@ -57,6 +57,7 @@ void unregister_softirq(uint32_t irq_num);
|
||||
void set_softirq_pending(uint64_t status);
|
||||
uint64_t get_softirq_pending();
|
||||
|
||||
int clear_softirq_pending(uint32_t irq_num);
|
||||
/**
|
||||
* @brief 软中断处理程序
|
||||
*
|
||||
|
Reference in New Issue
Block a user