|
Nexus Embedded Platform 1.0.0
Statically assembled reusable embedded mechanisms
|
Privileged static lifecycle for isolated MPU user tasks. More...
#include "FreeRTOS.h"#include "nexus/core/status.h"#include "nexus/os/freertos_user.h"#include "task.h"Go to the source code of this file.
Data Structures | |
| struct | nx_freertos_mpu_region_t |
| A caller-selected exact region, copied during task creation. More... | |
| struct | nx_freertos_mpu_task_t |
| Complete caller-owned protected task metadata. More... | |
| struct | nx_freertos_mpu_config_t |
| Immutable creation inputs, borrowed for this call only. More... | |
Enumerations | |
| enum | nx_freertos_mpu_access_t { NX_FREERTOS_MPU_READ_ONLY = 0 , NX_FREERTOS_MPU_READ_WRITE = 1 } |
| User data is nonexecuting normal RAM with only these permissions. More... | |
Functions | |
| nx_result_t | nx_freertos_mpu_task_start (nx_freertos_mpu_task_t *task, const nx_freertos_mpu_config_t *config) |
| Create an unprivileged task from exact caller-owned storage. | |
| nx_result_t | nx_freertos_mpu_task_delete (nx_freertos_mpu_task_t *task) |
| Delete another isolated task after external users quiesce. | |
Privileged static lifecycle for isolated MPU user tasks.
Definition in file freertos_mpu.h.
User data is nonexecuting normal RAM with only these permissions.
| Enumerator | |
|---|---|
| NX_FREERTOS_MPU_READ_ONLY | |
| NX_FREERTOS_MPU_READ_WRITE | |
Definition at line 23 of file freertos_mpu.h.
| nx_result_t nx_freertos_mpu_task_delete | ( | nx_freertos_mpu_task_t * | task | ) |
Delete another isolated task after external users quiesce.
| [in,out] | task | Owned live protected metadata; never the calling task. |
| nx_result_t nx_freertos_mpu_task_start | ( | nx_freertos_mpu_task_t * | task, |
| const nx_freertos_mpu_config_t * | config ) |
Create an unprivileged task from exact caller-owned storage.
| [in,out] | task | Zero/live-free metadata in protected linker RAM. |
| [in] | config | Validated user entry, stack and data mappings. |