mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
regs: set up mxcsr properly; arch_regs_firsttimesetup()
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user