|
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
#include <inttypes.h>#include "tfm_arch.h"#include "tfm_thread.h"#include "utilities.h"#include "tfm_memory_utils.h"#include "tfm/tfm_core_svc.h"#include "tfm_core_utils.h"
Go to the source code of this file.
Macros | |
| #define | LIST_HEAD p_thrd_head |
| #define | RUNN_HEAD p_runn_head |
| #define | CURR_THRD p_curr_thrd |
Functions | |
| struct tfm_core_thread_t * | tfm_core_thrd_get_next_thread (void) |
| struct tfm_core_thread_t * | tfm_core_thrd_get_curr_thread (void) |
| void | tfm_core_thrd_init (struct tfm_core_thread_t *pth, tfm_core_thrd_entry_t pfn, void *param, uintptr_t stk_top, uintptr_t stk_btm) |
| uint32_t | tfm_core_thrd_start (struct tfm_core_thread_t *pth) |
| void | tfm_core_thrd_set_state (struct tfm_core_thread_t *pth, uint32_t new_state) |
| void | tfm_core_thrd_activate_schedule (void) |
| void | tfm_core_thrd_start_scheduler (struct tfm_core_thread_t *pth) |
| void | tfm_core_thrd_switch_context (struct tfm_arch_ctx_t *p_actx, struct tfm_core_thread_t *prev, struct tfm_core_thread_t *next) |
| #define CURR_THRD p_curr_thrd |
Definition at line 23 of file tfm_thread.c.
| #define LIST_HEAD p_thrd_head |
Definition at line 21 of file tfm_thread.c.
| #define RUNN_HEAD p_runn_head |
Definition at line 22 of file tfm_thread.c.
| void tfm_core_thrd_activate_schedule | ( | void | ) |
Definition at line 129 of file tfm_thread.c.


| struct tfm_core_thread_t* tfm_core_thrd_get_curr_thread | ( | void | ) |
| struct tfm_core_thread_t* tfm_core_thrd_get_next_thread | ( | void | ) |
| void tfm_core_thrd_init | ( | struct tfm_core_thread_t * | pth, |
| tfm_core_thrd_entry_t | pfn, | ||
| void * | param, | ||
| uintptr_t | stk_top, | ||
| uintptr_t | stk_btm | ||
| ) |
| void tfm_core_thrd_set_state | ( | struct tfm_core_thread_t * | pth, |
| uint32_t | new_state | ||
| ) |
| uint32_t tfm_core_thrd_start | ( | struct tfm_core_thread_t * | pth | ) |
Definition at line 97 of file tfm_thread.c.


| void tfm_core_thrd_start_scheduler | ( | struct tfm_core_thread_t * | pth | ) |
Definition at line 134 of file tfm_thread.c.


| void tfm_core_thrd_switch_context | ( | struct tfm_arch_ctx_t * | p_actx, |
| struct tfm_core_thread_t * | prev, | ||
| struct tfm_core_thread_t * | next | ||
| ) |
Definition at line 153 of file tfm_thread.c.

