mirror of
https://github.com/RGBCube/serenity
synced 2025-07-12 20:57:36 +00:00
Kernel/aarch64: Stub Processor::clean_fpu_state() instead of crashing
Also print a message to the debug output, such that developers know that the current implementation is not actually correct.
This commit is contained in:
parent
a3cbaa3449
commit
a6f78b895f
1 changed files with 6 additions and 1 deletions
|
@ -206,7 +206,12 @@ public:
|
||||||
VERIFY(!Processor::in_critical());
|
VERIFY(!Processor::in_critical());
|
||||||
}
|
}
|
||||||
|
|
||||||
ALWAYS_INLINE static FPUState const& clean_fpu_state() { TODO_AARCH64(); }
|
ALWAYS_INLINE static FPUState const& clean_fpu_state()
|
||||||
|
{
|
||||||
|
static FPUState s_clean_fpu_state {};
|
||||||
|
dbgln("FIXME: Processor: Actually return correct FPUState.");
|
||||||
|
return s_clean_fpu_state;
|
||||||
|
}
|
||||||
|
|
||||||
ALWAYS_INLINE static void set_current_thread(Thread& current_thread)
|
ALWAYS_INLINE static void set_current_thread(Thread& current_thread)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue