diff --git a/kernel/include/kernel_offsets.h b/kernel/include/kernel_offsets.h index f2cdfa1008..f7ff393fd8 100644 --- a/kernel/include/kernel_offsets.h +++ b/kernel/include/kernel_offsets.h @@ -57,10 +57,6 @@ GEN_OFFSET_SYM(_kernel_t, current_fp); GEN_ABSOLUTE_SYM(_STRUCT_KERNEL_SIZE, sizeof(struct z_kernel)); GEN_OFFSET_SYM(_thread_base_t, user_options); -GEN_OFFSET_SYM(_thread_base_t, thread_state); -GEN_OFFSET_SYM(_thread_base_t, prio); -GEN_OFFSET_SYM(_thread_base_t, sched_locked); -GEN_OFFSET_SYM(_thread_base_t, preempt); GEN_OFFSET_SYM(_thread_t, base); GEN_OFFSET_SYM(_thread_t, callee_saved); @@ -71,8 +67,6 @@ GEN_OFFSET_SYM(_thread_t, switch_handle); #endif #ifdef CONFIG_THREAD_STACK_INFO -GEN_OFFSET_SYM(_thread_stack_info_t, start); - GEN_OFFSET_SYM(_thread_t, stack_info); #endif diff --git a/kernel/include/offsets_short.h b/kernel/include/offsets_short.h index f9fb901db6..13e1afe6df 100644 --- a/kernel/include/offsets_short.h +++ b/kernel/include/offsets_short.h @@ -56,26 +56,9 @@ /* base */ -#define _thread_offset_to_thread_state \ - (___thread_t_base_OFFSET + ___thread_base_t_thread_state_OFFSET) - #define _thread_offset_to_user_options \ (___thread_t_base_OFFSET + ___thread_base_t_user_options_OFFSET) -#define _thread_offset_to_prio \ - (___thread_t_base_OFFSET + ___thread_base_t_prio_OFFSET) - -#define _thread_offset_to_sched_locked \ - (___thread_t_base_OFFSET + ___thread_base_t_sched_locked_OFFSET) - -#define _thread_offset_to_preempt \ - (___thread_t_base_OFFSET + ___thread_base_t_preempt_OFFSET) - -#define _thread_offset_to_esf \ - (___thread_t_arch_OFFSET + ___thread_arch_t_esf_OFFSET) - -#define _thread_offset_to_stack_start \ - (___thread_t_stack_info_OFFSET + ___thread_stack_info_t_start_OFFSET) /* end - threads */ #endif /* ZEPHYR_KERNEL_INCLUDE_OFFSETS_SHORT_H_ */