Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YatSenOS/YatSenOS-Tutorial-Volume-1
/ setTimeInterrupt
Method
setTimeInterrupt
lab8/src/7/src/kernel/interrupt.cpp:82–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
80
}
81
82
void InterruptManager::setTimeInterrupt(void *handler)
83
{
84
setInterruptDescriptor(IRQ0_8259A_MASTER, (uint32)handler, 0);
85
}
86
87
// 中断处理函数
88
extern
"C"
void c_time_interrupt_handler()
Callers
1
setup_kernel
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected