1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 16:07:45 +00:00

Kernel/aarch64: Implement storing and restoring floating-point registers

This commit is contained in:
Timon Kruiper 2023-02-10 20:50:31 +01:00 committed by Jelle Raaijmakers
parent e57d35ff53
commit d1eec20773
2 changed files with 55 additions and 2 deletions

View file

@ -213,8 +213,6 @@ public:
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;
}
@ -293,6 +291,8 @@ private:
Thread* m_idle_thread;
u32 m_in_critical { 0 };
static FPUState s_clean_fpu_state;
// FIXME: Once there is code in place to differentiate IRQs from synchronous exceptions (syscalls),
// this member should be incremented. Also this member shouldn't be a FlatPtr.
FlatPtr m_in_irq { 0 };