1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

Kernel: Use FlatPtr for register-sized values

This commit is contained in:
Gunnar Beutner 2021-06-28 17:05:38 +02:00 committed by Andreas Kling
parent b5aad1c81d
commit a8587fbfb9
4 changed files with 5 additions and 5 deletions

View file

@ -67,7 +67,7 @@ String Processor::platform_string() const
}
// FIXME: For the most part this is a copy of the i386-specific function, get rid of the code duplication
u32 Processor::init_context(Thread& thread, bool leave_crit)
FlatPtr Processor::init_context(Thread& thread, bool leave_crit)
{
VERIFY(is_kernel_mode());
VERIFY(g_scheduler_lock.is_locked());