AutosarOS
|
Operating System Control Block. More...
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include "Types.h"
#include <avr/io.h>
#include <util/delay.h>
#include "AppCfg.h"
Go to the source code of this file.
Macros | |
#define | OS_CONFIG_GEN_FUNC_DECL |
#define | OS_EXTENDED false |
Variables | |
volatile bool | isISR |
Is currently ISR context? More... | |
volatile uint8_t | isCat2ISR |
Priority of current Cat 2 ISR (zero if not in Cat 2 ISR) More... | |
volatile TaskType | currentTask |
Task currently being executed. More... | |
volatile struct task_s * | TCB_Cfg [] |
Current task control blocks. More... | |
volatile uint32_t | sysTick |
Current system tick. More... | |
volatile uint8_t | needScheduling |
Scheduling needed during timer interrupt. More... | |
volatile uint8_t | blockScheduling |
Block scheduling. More... | |
bool | forceScheduling |
Force the next rescheduling. More... | |
volatile uint8_t | needSysTickEval |
SysTick must be evaluated during timer interrupt. More... | |
uint8_t | OS_SystemStack [] |
Array used as SystemStack (value points to stack top) More... | |
uint8_t *const | OS_SystemStackPtr |
Pointer to SystemStack base. More... | |
volatile struct resource_s * | Res_Cfg [] |
Current resource control blocks. More... | |
struct resource_s *volatile | isrResourceQueue |
Resource queue for resources taken by Cat2 ISRs. More... | |
volatile struct internalResource_s | IntResourceNULL_s |
Internal resource for tasks with no internal resource defined. More... | |
volatile struct counter_s * | Counter_Cfg [] |
Current counter control blocks. More... | |
volatile struct alarm_s * | Alarm_Cfg [] |
Current alarm control blocks. More... | |
struct scheduleTable_s * | ScheduleTable_Cfg [] |
Current schedule table control blocks. More... | |
Operating System Control Block.
This contains the operating system control blocks generated during compilation.
Definition in file OCB.h.
|
extern |
Current alarm control blocks.
|
extern |
|
extern |
Current counter control blocks.
|
extern |
|
extern |
Force the next rescheduling.
If set to true the next call of OS_Schedule() will perform a rescheduling even if current task is marked as non-preemptive.
This should only be set immediately before OS_Schedule() is called.
|
extern |
Internal resource for tasks with no internal resource defined.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Array used as SystemStack (value points to stack top)
|
extern |
Pointer to SystemStack base.
|
extern |
Current resource control blocks.
|
extern |
Current schedule table control blocks.
|
extern |
Current task control blocks.