瀏覽代碼

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

Shannon Booth 5 年之前
父節點
當前提交
113a95e9e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Kernel/Interrupts/UnhandledInterruptHandler.h

+ 1 - 1
Kernel/Interrupts/UnhandledInterruptHandler.h

@@ -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"; }