6#include <kernel/runtime.h>
uint8_t Process_t
Data type used for process IDs.
Definition defines.h:75
uint8_t Thread_t
Data type used for thread IDs.
Definition defines.h:72
void os_reset_cpu()
Reset the CPU.
Definition sched.c:101
void os_boot_thread(Thread_t boot_thread)
Start executing thread.
Definition sched.c:83
void os_thread_initialize_arch(struct OS_thread_t *thread, unsigned stack_size, entrypoint_t *entrypoint, void *data)
Perform architecture-specific thread initialization This function should perform the following action...
Definition sched.c:29
void os_kernel_shutdown()
Stop running the kernel.
Definition sched.c:128
int os_process_create(Process_t process_id, const struct OS_process_definition_t *definition)
Create process using process definition.
Definition sched.c:54
int os_set_syscall_return_value(Thread_t thread_id, int32_t retval)
Set return value of syscall for given thread.
Definition sched.c:136
Static definition of process in firmware image.
Definition runtime.h:31
Thread control block.
Definition runtime.h:72