blob: 4756f77bd511dc98b22a03b0f07b576e54a7ce18 (
plain) (
tree)
|
|
/*
* EDF common data structures and utility functions shared by all EDF
* based scheduler plugins
*/
/* CLEANUP: Add comments and make it less messy.
*
*/
#ifndef __FIFO_COMMON_H__
#define __FIFO_COMMON_H__
#include <litmus/rt_domain.h>
void fifo_domain_init(rt_domain_t* rt, check_resched_needed_t resched,
release_jobs_t release);
int fifo_higher_prio(struct task_struct* first,
struct task_struct* second);
int fifo_ready_order(struct bheap_node* a, struct bheap_node* b);
int fifo_preemption_needed(rt_domain_t* rt, struct task_struct *t);
#endif
|