diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 20:52:29 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 21:01:20 -0500 |
commit | 12d312072e3f4caa6e4e500d5a23c85402494cd1 (patch) | |
tree | 9cde0ea468ea97c51d3c6370c9924827376efcc2 /include/litmus/rm_srt_common.h | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) | |
parent | 3d1c6d44d3f133909d1c594351c2b7c779b1d7d4 (diff) |
Merge branch 'wip-pai' into wip-gpu-interrupts
Conflicts:
include/litmus/affinity.h
kernel/sched.c
kernel/softirq.c
litmus/Kconfig
litmus/affinity.c
litmus/litmus.c
litmus/preempt.c
litmus/sched_cedf.c
litmus/sched_gsn_edf.c
Diffstat (limited to 'include/litmus/rm_srt_common.h')
-rw-r--r-- | include/litmus/rm_srt_common.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/litmus/rm_srt_common.h b/include/litmus/rm_srt_common.h new file mode 100644 index 000000000000..78aa287327a2 --- /dev/null +++ b/include/litmus/rm_srt_common.h | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | * EDF common data structures and utility functions shared by all EDF | ||
3 | * based scheduler plugins | ||
4 | */ | ||
5 | |||
6 | /* CLEANUP: Add comments and make it less messy. | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #ifndef __UNC_RM_SRT_COMMON_H__ | ||
11 | #define __UNC_RM_SRT_COMMON_H__ | ||
12 | |||
13 | #include <litmus/rt_domain.h> | ||
14 | |||
15 | void rm_srt_domain_init(rt_domain_t* rt, check_resched_needed_t resched, | ||
16 | release_jobs_t release); | ||
17 | |||
18 | int rm_srt_higher_prio(struct task_struct* first, | ||
19 | struct task_struct* second); | ||
20 | |||
21 | int rm_srt_ready_order(struct bheap_node* a, struct bheap_node* b); | ||
22 | |||
23 | int rm_srt_preemption_needed(rt_domain_t* rt, struct task_struct *t); | ||
24 | |||
25 | #endif | ||