软中断 (IPI) 处理
| 73 | |
| 74 | // 软中断 (IPI) 处理 |
| 75 | auto IpiHandler(uint64_t /*cause*/, cpu_io::TrapContext* /*context*/) |
| 76 | -> uint64_t { |
| 77 | // 清软中断 pending 位 |
| 78 | cpu_io::Sip::Ssip::Clear(); |
| 79 | klog::Debug("Core {} received IPI", cpu_io::GetCurrentCoreId()); |
| 80 | return 0; |
| 81 | } |
| 82 | |
| 83 | // 串口外部中断处理 |
| 84 | auto SerialIrqHandler(uint64_t /*cause*/, cpu_io::TrapContext* /*context*/) |
nothing calls this directly
no test coverage detected