diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/litmus.h b/include/litmus.h index 0ccad9f..7382936 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -99,7 +99,7 @@ int __create_rt_task_edffm(rt_fn_t rt_prog, void *arg, int cpu, int wcet, | |||
99 | int period, lt_t *frac1, lt_t *frac2, | 99 | int period, lt_t *frac1, lt_t *frac2, |
100 | int cpu1, int cpu2, task_class_t class); | 100 | int cpu1, int cpu2, task_class_t class); |
101 | int __create_rt_task_npsf(rt_fn_t rt_prog, void *arg, int cpu, int wcet, | 101 | int __create_rt_task_npsf(rt_fn_t rt_prog, void *arg, int cpu, int wcet, |
102 | int period, task_class_t class, int npsf_id); | 102 | int period, int npsf_id, task_class_t class); |
103 | 103 | ||
104 | /* per-task modes */ | 104 | /* per-task modes */ |
105 | enum rt_task_mode_t { | 105 | enum rt_task_mode_t { |
@@ -155,10 +155,14 @@ struct control_page* get_ctrl_page(void); | |||
155 | * @npsf_id: a "unique" identifier for the notional processor. | 155 | * @npsf_id: a "unique" identifier for the notional processor. |
156 | * @budgets: array of (cpu, budget-ns) that describes this np. | 156 | * @budgets: array of (cpu, budget-ns) that describes this np. |
157 | * on possibly more than one cpu. | 157 | * on possibly more than one cpu. |
158 | * @last: marks the end of servers initialization and trigger | ||
159 | * the switching of servers in the plugin. | ||
160 | * Should be set to 1 only once at the end of the sequence | ||
161 | * of add_server() calls | ||
158 | * | 162 | * |
159 | * Currently implemented on x86_64 only. | 163 | * Currently implemented on x86_64 only. |
160 | */ | 164 | */ |
161 | int add_server(int *npsf_id, struct npsf_budgets *budgets); | 165 | int add_server(int *npsf_id, struct npsf_budgets *budgets, int last); |
162 | 166 | ||
163 | #ifdef __cplusplus | 167 | #ifdef __cplusplus |
164 | } | 168 | } |