C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
runtime.h
1#pragma once
2
3#include <stdint.h>
4#include <arch/mpu.h>
5#include <conf/kernel.h>
6
7
15typedef int (entrypoint_t)(void *);
16
21 void * start;
23 void * end;
24};
25
35
37 struct OS_MPU_region rpc_interface; /* this is not an actual MPU region */
38};
39
49
51 entrypoint_t * entrypoint;
52
54 void * data;
55
57 uint8_t priority;
58
60 uint8_t core;
61};
#define OS_TASK_MPU_REGIONS
How many MPU regions can process define.
Definition kernel.h:23
MPU region description.
Definition runtime.h:19
void * start
Start address.
Definition runtime.h:21
void * end
End address.
Definition runtime.h:23
Static definition of process in firmware image.
Definition runtime.h:31
struct OS_MPU_region rpc_interface
Ummmm.
Definition runtime.h:37
struct OS_MPU_region mpu_regions[OS_TASK_MPU_REGIONS]
Static MPU region configuration for this process.
Definition runtime.h:34
Structure describing auto-spawned thread.
Definition runtime.h:46
void * data
User data passed to entrypoint function.
Definition runtime.h:54
uint8_t priority
Thread priority.
Definition runtime.h:57
const struct OS_process_definition_t * process
Owning process.
Definition runtime.h:48
entrypoint_t * entrypoint
Entrypoint address.
Definition runtime.h:51
uint8_t core
Core at which thread should be started.
Definition runtime.h:60