1 /* 2 * Copyright (c) 2021 Intel Corporation 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 #ifndef ZEPHYR_ARCH_XTENSA_INCLUDE_OFFSETS_SHORT_ARCH_H_ 6 #define ZEPHYR_ARCH_XTENSA_INCLUDE_OFFSETS_SHORT_ARCH_H_ 7 8 #define _thread_offset_to_flags \ 9 (___thread_t_arch_OFFSET + ___thread_arch_t_flags_OFFSET) 10 11 #ifdef CONFIG_USERSPACE 12 #define _thread_offset_to_psp \ 13 (___thread_t_arch_OFFSET + ___thread_arch_t_psp_OFFSET) 14 15 #define _thread_offset_to_ptables \ 16 (___thread_t_arch_OFFSET + ___thread_arch_t_ptables_OFFSET) 17 #endif /* CONFIG_USERSPACE */ 18 19 #endif /* ZEPHYR_ARCH_XTENSA_INCLUDE_OFFSETS_SHORT_ARCH_H_ */ 20