/* * EDZL common data structures and utility functions shared by all EDZL * based scheduler plugins */ /* CLEANUP: Add comments and make it less messy. * */ #ifndef __UNC_EDZL_COMMON_H__ #define __UNC_EDZL_COMMON_H__ #include void edzl_domain_init(rt_domain_t* rt, check_resched_needed_t resched, release_jobs_t release); int edzl_higher_prio(struct task_struct* first, struct task_struct* second); int edzl_ready_order(struct bheap_node* a, struct bheap_node* b); int edzl_preemption_needed(rt_domain_t* rt, struct task_struct *t); #endif