|
AutosarOS
|
Context switching. More...


Go to the source code of this file.
Functions | |
| void | save_context (void) |
| Save context of current task. More... | |
| void | restore_context (void) |
| Restore context of current task. More... | |
| void | init_context (void) |
| Initialize context of current task. More... | |
Variables | |
| uint8_t *volatile * | ptrCurrentStack |
| Stack-Pointer saved in current task control block. More... | |
| pTaskFxn | ptrCurrentFxnAddr |
| Function pointer to current task function. More... | |
Context switching.
Definition in file context.h.
| void init_context | ( | void | ) |
Initialize context of current task.
This function is used to initialize the context of the current task.

| void restore_context | ( | void | ) |
Restore context of current task.

| void save_context | ( | void | ) |
Save context of current task.

|
extern |