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:
Charles E. Youse 2019-09-18 17:55:25 -04:00 committed by Anas Nashif
commit a224998355
6 changed files with 15 additions and 13 deletions

View file

@ -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;
}