MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / DefaultInterruptHandler

Function DefaultInterruptHandler

src/arch/aarch64/interrupt.cpp:19–24  ·  view source on GitHub ↗

* @brief 默认中断处理函数 * @param cause 中断号 * @param context 中断上下文 * @return 始终返回 0 */

Source from the content-addressed store, hash-verified

17 * @return 始终返回 0
18 */
19auto DefaultInterruptHandler(uint64_t cause, cpu_io::TrapContext* context)
20 -> uint64_t {
21 klog::Info("Default Interrupt handler {:#X}, {:#x}", cause,
22 reinterpret_cast<uintptr_t>(context));
23 return 0;
24}
25} // namespace
26
27Interrupt::Interrupt() {

Callers

nothing calls this directly

Calls 1

InfoFunction · 0.85

Tested by

no test coverage detected