diff options
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r-- | include/litmus/rt_param.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index d1a1f6ab523a..d2ef9ed02349 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
@@ -33,13 +33,11 @@ typedef enum { | |||
33 | PRECISE_ENFORCEMENT /* NOT IMPLEMENTED - enforced with hrtimers */ | 33 | PRECISE_ENFORCEMENT /* NOT IMPLEMENTED - enforced with hrtimers */ |
34 | } budget_policy_t; | 34 | } budget_policy_t; |
35 | 35 | ||
36 | #ifdef CONFIG_PLUGIN_AEDZL | ||
37 | typedef long fpbuf_t; | 36 | typedef long fpbuf_t; |
38 | typedef struct | 37 | typedef struct |
39 | { | 38 | { |
40 | fpbuf_t val; | 39 | fpbuf_t val; |
41 | } fp_t; | 40 | } fp_t; |
42 | #endif | ||
43 | 41 | ||
44 | struct rt_task { | 42 | struct rt_task { |
45 | lt_t exec_cost; | 43 | lt_t exec_cost; |
@@ -49,10 +47,9 @@ struct rt_task { | |||
49 | task_class_t cls; | 47 | task_class_t cls; |
50 | budget_policy_t budget_policy; /* ignored by pfair */ | 48 | budget_policy_t budget_policy; /* ignored by pfair */ |
51 | 49 | ||
52 | #ifdef CONFIG_PLUGIN_AEDZL | 50 | /* AEDZL - feedback control parameters set by user */ |
53 | fp_t util_est; | 51 | fp_t a; |
54 | fp_t accum_err; | 52 | fp_t b; |
55 | #endif | ||
56 | }; | 53 | }; |
57 | 54 | ||
58 | /* The definition of the data that is shared between the kernel and real-time | 55 | /* The definition of the data that is shared between the kernel and real-time |
@@ -139,6 +136,10 @@ struct rt_param { | |||
139 | unsigned int zl_timer_armed:1; | 136 | unsigned int zl_timer_armed:1; |
140 | /* used to trigger zero-laxity detection */ | 137 | /* used to trigger zero-laxity detection */ |
141 | struct hrtimer zl_timer; | 138 | struct hrtimer zl_timer; |
139 | #ifdef CONFIG_PLUGIN_AEDZL | ||
140 | fp_t zl_util_est; | ||
141 | fp_t zl_accum_err; | ||
142 | #endif | ||
142 | #endif | 143 | #endif |
143 | 144 | ||
144 | /* task representing the current "inherited" task | 145 | /* task representing the current "inherited" task |