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

Method setTimeInterrupt

lab8/src/5/src/kernel/interrupt.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void InterruptManager::setTimeInterrupt(void *handler)
83{
84 setInterruptDescriptor(IRQ0_8259A_MASTER, (uint32)handler, 0);
85}
86
87// 中断处理函数
88extern "C" void c_time_interrupt_handler()

Callers 1

setup_kernelFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected