| 61 | } |
| 62 | |
| 63 | auto Interrupt::Do(uint64_t cause, cpu_io::TrapContext* context) -> void { |
| 64 | cpu_io::ICC_EOIR1_EL1::Write(cause); |
| 65 | interrupt_handlers_[cause](cause, context); |
| 66 | } |
| 67 | |
| 68 | auto Interrupt::RegisterInterruptFunc(uint64_t cause, InterruptDelegate func) |
| 69 | -> void { |
no test coverage detected