mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
Kernel: Dispatch handle-able signals instead of crashing if possible
This matches the behaviour of the other *nixs and allows processes to try and recover from such signals in userland.
This commit is contained in:
parent
f415218afe
commit
40f64d7379
5 changed files with 23 additions and 10 deletions
|
@ -36,7 +36,7 @@ inline u32 get_iopl_from_eflags(u32 eflags)
|
|||
const DescriptorTablePointer& get_gdtr();
|
||||
const DescriptorTablePointer& get_idtr();
|
||||
|
||||
[[noreturn]] void handle_crash(RegisterState const&, char const* description, int signal, bool out_of_memory = false);
|
||||
void handle_crash(RegisterState const&, char const* 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