Browse Source

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

Shannon Booth 5 năm trước cách đây
mục cha
commit
113a95e9e1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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"; }