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

Kernel: Mark read only RegisterState function parameters as const

This commit is contained in:
Brian Gianforcaro 2021-07-18 09:59:50 -07:00 committed by Gunnar Beutner
parent 27e1120dff
commit 85e95105c6
4 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ inline u32 get_iopl_from_eflags(u32 eflags)
const DescriptorTablePointer& get_gdtr();
const DescriptorTablePointer& get_idtr();
[[noreturn]] void handle_crash(RegisterState&, const char* description, int signal, bool out_of_memory = false);
[[noreturn]] 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)