C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
context.h
1#pragma once
2
3#include <stdbool.h>
4#include "runtime.h"
5
33
45bool schedule_context_switch(uint32_t current_task, uint32_t next_task);
46
49extern bool ctxt_switch_pending;
50extern struct OS_scheduling_context_t cpu_context;
Process control block.
Definition runtime.h:153
Structure describing upcoming context switch.
Definition context.h:21
struct OS_process_t * new_parent_process
Definition context.h:26
struct OS_thread_t * new_task
Definition context.h:23
uint32_t * new_stack
Definition context.h:31
struct OS_thread_t * old_task
Definition context.h:22
struct OS_process_t * old_parent_process
Definition context.h:25
struct OS_process_t * old_host_process
Definition context.h:28
struct OS_process_t * new_host_process
Definition context.h:29
Thread control block.
Definition runtime.h:72