mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
Kernel: Mark handle_crash() as [[noreturn]]
This commit is contained in:
parent
fcda9ee7f5
commit
10b7f6b77e
3 changed files with 1 additions and 6 deletions
|
@ -283,7 +283,7 @@ void replace_shared_handler_with_single(GenericInterruptHandler&);
|
|||
void unregister_generic_interrupt_handler(u8 number, GenericInterruptHandler&);
|
||||
void flush_idt();
|
||||
void load_task_register(u16 selector);
|
||||
void handle_crash(RegisterState&, const char* description, int signal, bool out_of_memory = false);
|
||||
[[noreturn]] void handle_crash(RegisterState&, const char* description, int signal, bool out_of_memory = false);
|
||||
|
||||
#define LSW(x) ((u32)(x)&0xFFFF)
|
||||
#define MSW(x) (((u32)(x) >> 16) & 0xFFFF)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue