arch/x86/intel64: do not use thread_state for arch data
k_thread.thread_state (or rather, _thread_base.thread_state) should be private to the kernel/scheduler, so flags previously stored there are moved to _thread_arch where the belong. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
437256d17c
commit
a224998355
6 changed files with 15 additions and 13 deletions
|
@ -30,4 +30,6 @@ void z_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
|
|||
thread->arch.rcx = (long) parameter3;
|
||||
|
||||
x86_sse_init(thread);
|
||||
|
||||
thread->arch.flags = X86_THREAD_FLAG_ALL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue