mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-23 09:48:56 +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
Notes:
sideshowbarker
2024-07-17 18:49:10 +09:00
Author: https://github.com/FireFox317
Commit: a6f78b895f
Pull-request: https://github.com/SerenityOS/serenity/pull/16690
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/nico ✅
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