Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YatSenOS/YatSenOS-Tutorial-Volume-1
/ setInterruptStatus
Method
setInterruptStatus
lab5/src/4/src/kernel/interrupt.cpp:119–129 ·
view source on GitHub ↗
设置中断状态
Source
from the content-addressed store, hash-verified
117
118
// 设置中断状态
119
void InterruptManager::setInterruptStatus(bool status)
120
{
121
if (status)
122
{
123
enableInterrupt();
124
}
125
else
126
{
127
disableInterrupt();
128
}
129
}
130
Callers
2
executeThread
Method · 0.45
schedule
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected