Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
thread.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11
12#ifndef ZEPHYR_INCLUDE_ARCH_HEXAGON_THREAD_H_
13#define ZEPHYR_INCLUDE_ARCH_HEXAGON_THREAD_H_
14
15#ifndef _ASMLANGUAGE
16#include <zephyr/types.h>
17
21struct _callee_saved {
23 uint32_t r16;
25 uint32_t r17;
27 uint32_t r18;
29 uint32_t r19;
31 uint32_t r20;
33 uint32_t r21;
35 uint32_t r22;
37 uint32_t r23;
39 uint32_t r24;
41 uint32_t r25;
43 uint32_t r26;
45 uint32_t r27;
46
48 uint32_t r29_sp;
50 uint32_t r30_fp;
51
53 uint32_t r31_lr;
54};
55
56typedef struct _callee_saved _callee_saved_t;
57
61struct _thread_arch {
63 uint32_t swap_return_value;
64};
65
66typedef struct _thread_arch _thread_arch_t;
67
68#endif /* _ASMLANGUAGE */
69
70/* Hexagon requires 8-byte stack alignment. */
71#define ARCH_STACK_PTR_ALIGN 8
72
73#endif /* ZEPHYR_INCLUDE_ARCH_HEXAGON_THREAD_H_ */
__UINT32_TYPE__ uint32_t
Definition stdint.h:90