mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-06 21:45:29 +00:00
Kernel: Make Processor::clean_fpu_state() static
This function returns the same identical FPU state for all CPU's, so there's no point requiring a Processor instance.
This commit is contained in:
@@ -1231,7 +1231,7 @@ RefPtr<Thread> Thread::from_tid(ThreadID tid)
|
||||
|
||||
void Thread::reset_fpu_state()
|
||||
{
|
||||
memcpy(&m_fpu_state, &Processor::current().clean_fpu_state(), sizeof(FPUState));
|
||||
memcpy(&m_fpu_state, &Processor::clean_fpu_state(), sizeof(FPUState));
|
||||
}
|
||||
|
||||
bool Thread::should_be_stopped() const
|
||||
|
||||
Reference in New Issue
Block a user