1 /*
2  * Copyright (c) 2021 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_INCLUDE_ARCH_XTENSA_THREAD_H_
8 #define ZEPHYR_INCLUDE_ARCH_XTENSA_THREAD_H_
9 
10 #ifndef _ASMLANGUAGE
11 
12 /* Xtensa doesn't use these structs, but Zephyr core requires they be
13  * defined so they can be included in struct _thread_base.  Dummy
14  * field exists for sizeof compatibility with C++.
15  */
16 
17 struct _callee_saved {
18 	char dummy;
19 };
20 
21 typedef struct _callee_saved _callee_saved_t;
22 
23 struct _thread_arch {
24 	char dummy;
25 };
26 
27 typedef struct _thread_arch _thread_arch_t;
28 
29 #endif /* _ASMLANGUAGE */
30 
31 #endif /* ZEPHYR_INCLUDE_ARCH_XTENSA_THREAD_H_ */
32