Implementation of scheduler functions. More...
#include <stdint.h>
#include <stddef.h>
#include <kernel/scheduler.h>
#include <kernel/printk.h>
#include <armv8-a/irq.h>
Functions | |
void | preempt_disable () |
void | preempt_enable () |
void | schedule_tail () |
void | switch_to (task_struct *next) |
void | DEBUG_print_tasks () |
void | _schedule () |
void | schedule () |
void | timer_tick () |
Variables | |
task_struct * | current = &(init_task) |
task_struct * | task [NR_TASKS] = {&(init_task), } |
int | nr_tasks = 1 |
Implementation of scheduler functions.
void _schedule | ( | ) |
void DEBUG_print_tasks | ( | ) |
Function for printing the task_struct of all running task's.
For debugging.