1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:37:45 +00:00

Kernel: Make handle_crash available to aarch64

This commit is contained in:
James Mintram 2022-04-02 23:55:20 +01:00 committed by Brian Gianforcaro
parent d3b6201b40
commit 6299a69253
8 changed files with 75 additions and 33 deletions

View file

@ -36,8 +36,6 @@ inline u32 get_iopl_from_eflags(u32 eflags)
DescriptorTablePointer const& get_gdtr();
DescriptorTablePointer const& get_idtr();
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)
#define LSB(x) ((x)&0xFF)