regs: set up mxcsr properly; arch_regs_firsttimesetup()

This commit is contained in:
Matheus
2022-09-23 21:37:04 -03:00
parent bedd2f625e
commit 9cca7891b9
3 changed files with 12 additions and 1 deletions
+2
View File
@@ -98,6 +98,8 @@ static thread_t* allocthread(proc_t* proc, state_t state, pid_t tid, size_t ksta
thread->kernelstack = thread->kernelstackbase + kstacksize;
thread->stacksize = kstacksize;
arch_regs_firsttimesetup(thread->regs, &thread->extraregs);
return thread;
}