arch/x86/ia32: move IA32 thread state to _thread_arch
There are not enough bits in k_thread.thread_state with SMP enabled, and the field is (should be) private to the scheduler, anyway. So move state bits to the _thread_arch where they belong. While we're at it, refactor some offset data w/r/t _thread_arch because it can be shared between 32- and 64-bit subarches. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
a224998355
commit
a95c94cfe2
11 changed files with 34 additions and 34 deletions
|
@ -38,9 +38,6 @@
|
|||
#define _thread_offset_to_rax \
|
||||
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_rax_OFFSET)
|
||||
|
||||
#define _thread_offset_to_flags \
|
||||
(___thread_t_arch_OFFSET + ___thread_arch_t_flags_OFFSET)
|
||||
|
||||
#define _thread_offset_to_rcx \
|
||||
(___thread_t_arch_OFFSET + ___thread_arch_t_rcx_OFFSET)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue