* @brief 定时器中断处理函数 * @param cause 中断号(未使用) * @param context 中断上下文(未使用) * @return 始终返回 0 */
| 25 | * @return 始终返回 0 |
| 26 | */ |
| 27 | auto TimerHandler(uint64_t /*cause*/, cpu_io::TrapContext* /*context*/) |
| 28 | -> uint64_t { |
| 29 | cpu_io::CNTV_TVAL_EL0::Write(interval); |
| 30 | auto& tm = TaskManagerSingleton::instance(); |
| 31 | tm.TickUpdate(); |
| 32 | (void)tm.CheckPendingSignals(); |
| 33 | return 0; |
| 34 | } |
| 35 | } // namespace |
| 36 | |
| 37 | auto TimerInitSMP() -> void { |
nothing calls this directly
no test coverage detected