MCPcopy Create free account
hub / github.com/YatSenOS/YatSenOS-Tutorial-Volume-1 / getInterruptStatus

Method getInterruptStatus

lab8/src/3/src/kernel/interrupt.cpp:113–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113bool InterruptManager::getInterruptStatus()
114{
115 return asm_interrupt_status() ? true : false;
116}
117
118// 设置中断状态
119void InterruptManager::setInterruptStatus(bool status)

Callers 3

executeThreadMethod · 0.45
scheduleMethod · 0.45
executeProcessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected