Zephyr Project API
3.3.0
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
17
struct
_callee_saved {
18
char
dummy;
19
};
20
21
typedef
struct
_callee_saved _callee_saved_t;
22
23
struct
_thread_arch {
24
uint32_t
last_cpu;
25
};
26
27
typedef
struct
_thread_arch _thread_arch_t;
28
29
#endif
/* _ASMLANGUAGE */
30
31
#endif
/* ZEPHYR_INCLUDE_ARCH_XTENSA_THREAD_H_ */
uint32_t
__UINT32_TYPE__ uint32_t
Definition:
stdint.h:90
include
zephyr
arch
xtensa
thread.h
Generated on Fri Jun 9 2023 14:09:43 for Zephyr Project API by
1.9.2