Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
thread.h
Go to the documentation of this file.
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
17struct _callee_saved {
18 char dummy;
19};
20
21typedef struct _callee_saved _callee_saved_t;
22
23struct _thread_arch {
24 char dummy;
25};
26
27typedef struct _thread_arch _thread_arch_t;
28
29#endif /* _ASMLANGUAGE */
30
31#endif /* ZEPHYR_INCLUDE_ARCH_XTENSA_THREAD_H_ */