Kernel: Annotate UnhandledInterruptHandler::eoi with [[noreturn]]

This commit is contained in:
Shannon Booth 2020-05-16 16:49:24 +12:00 committed by Andreas Kling
parent df43e09433
commit 113a95e9e1
Notes: sideshowbarker 2024-07-19 06:37:35 +09:00

View file

@ -39,7 +39,7 @@ public:
virtual void handle_interrupt(const RegisterState&) override;
virtual bool eoi() override;
[[noreturn]] virtual bool eoi() override;
virtual HandlerType type() const override { return HandlerType::UnhandledInterruptHandler; }
virtual const char* purpose() const override { return "Unhandled Interrupt Handler"; }