summaryrefslogtreecommitdiff
path: root/Kernel/Arch/x86/CPU.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Arch/x86/CPU.h')
-rw-r--r--Kernel/Arch/x86/CPU.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Arch/x86/CPU.h b/Kernel/Arch/x86/CPU.h
index 99d579c287..caa946fd28 100644
--- a/Kernel/Arch/x86/CPU.h
+++ b/Kernel/Arch/x86/CPU.h
@@ -33,8 +33,8 @@ inline u32 get_iopl_from_eflags(u32 eflags)
return (eflags & iopl_mask) >> 12;
}
-const DescriptorTablePointer& get_gdtr();
-const DescriptorTablePointer& get_idtr();
+DescriptorTablePointer const& get_gdtr();
+DescriptorTablePointer const& get_idtr();
void handle_crash(RegisterState const&, char const* description, int signal, bool out_of_memory = false);
@@ -48,7 +48,7 @@ constexpr FlatPtr page_base_of(FlatPtr address)
return address & PAGE_MASK;
}
-inline FlatPtr page_base_of(const void* address)
+inline FlatPtr page_base_of(void const* address)
{
return page_base_of((FlatPtr)address);
}
@@ -58,7 +58,7 @@ constexpr FlatPtr offset_in_page(FlatPtr address)
return address & (~PAGE_MASK);
}
-inline FlatPtr offset_in_page(const void* address)
+inline FlatPtr offset_in_page(void const* address)
{
return offset_in_page((FlatPtr)address);
}