Nexus Embedded Platform
1.0.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
freertos_stack.h
Go to the documentation of this file.
1
6
#ifndef NEXUS_OS_FREERTOS_STACK_H
7
#define NEXUS_OS_FREERTOS_STACK_H
8
9
#include "FreeRTOS.h"
10
#include "
nexus/core/stack_observation.h
"
11
#include "task.h"
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
22
typedef
struct
{
23
TaskHandle_t
handle
;
24
StaticTask_t*
control
;
25
StackType_t*
stack
;
26
size_t
words
;
27
}
nx_freertos_stack_binding_t
;
28
45
nx_result_t
46
nx_freertos_stack_observe
(
const
nx_freertos_stack_binding_t
* binding,
47
nx_stack_observation_t
* out);
48
49
#ifdef __cplusplus
50
}
51
#endif
52
#endif
/* NEXUS_OS_FREERTOS_STACK_H */
nx_freertos_stack_observe
nx_result_t nx_freertos_stack_observe(const nx_freertos_stack_binding_t *binding, nx_stack_observation_t *out)
Copy bounded stack paint facts using actual kernel identity.
stack_observation.h
Bounded read-only observation of caller-painted stack spans.
nx_result_t
nx_result_t
Operation result; success at submission means admission only.
Definition
status.h:21
nx_freertos_stack_binding_t
Exact static task facts supplied at original creation.
Definition
freertos_stack.h:22
nx_freertos_stack_binding_t::words
size_t words
Definition
freertos_stack.h:26
nx_freertos_stack_binding_t::handle
TaskHandle_t handle
Definition
freertos_stack.h:23
nx_freertos_stack_binding_t::control
StaticTask_t * control
Definition
freertos_stack.h:24
nx_freertos_stack_binding_t::stack
StackType_t * stack
Definition
freertos_stack.h:25
nx_stack_observation_t
Byte-prefix paint observations, not an exact physical stack peak.
Definition
stack_observation.h:18
os
freertos
include
nexus
os
freertos_stack.h
Generated by
1.14.0