aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNamhoon Kim <namhoonk@cs.unc.edu>2015-01-24 13:24:12 -0500
committerNamhoon Kim <namhoonk@cs.unc.edu>2015-01-24 13:24:12 -0500
commitca538aafd7cebfd09a47af0a628647620a6bba35 (patch)
tree811e8a0663e5eda924fa68ef2a5a104501c1cdfa /include
parent34fe51ed2dc210e87bfa5d85ab98c5125495f002 (diff)
Reservation destroy
Diffstat (limited to 'include')
-rw-r--r--include/litmus/reservation.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/litmus/reservation.h b/include/litmus/reservation.h
index 5ccb20055a56..0e656ad2667e 100644
--- a/include/litmus/reservation.h
+++ b/include/litmus/reservation.h
@@ -129,6 +129,8 @@ struct reservation {
129 129
130 /* for global env. */ 130 /* for global env. */
131 int scheduled_on; 131 int scheduled_on;
132 /* for blocked by ghost */
133 int blocked_by_ghost;
132}; 134};
133 135
134void reservation_init(struct reservation *res); 136void reservation_init(struct reservation *res);
@@ -225,14 +227,14 @@ struct gmp_reservation_environment {
225 /* set to true if a call to gmp_dispatch() is imminent */ 227 /* set to true if a call to gmp_dispatch() is imminent */
226 bool will_schedule; 228 bool will_schedule;
227}; 229};
228/* 230
229void gmp_init(struct gmp_reservation_environment* gmp_env); 231void gmp_init(struct gmp_reservation_environment* gmp_env);
230void gmp_add_new_reservation(struct gmp_reservation_environment* gmp_env, 232void gmp_add_new_reservation(struct gmp_reservation_environment* gmp_env,
231 struct reservation* new_res); 233 struct reservation* new_res);
232void gmp_update_time(struct gmp_reservation_environment* gmp_env, lt_t now); 234void gmp_update_time(struct gmp_reservation_environment* gmp_env, lt_t now);
233struct task_struct* gmp_dispatch(struct gmp_reservation_environment* gmp_env); 235struct task_struct* gmp_dispatch(struct gmp_reservation_environment* gmp_env);
234 236struct next_timer_event* gmp_find_event_by_id(struct gmp_reservation_environment* gmp_env, unsigned int id);
235struct reservation* gmp_find_by_id(struct gmp_reservation_environment* gmp_env, 237struct reservation* gmp_find_by_id(struct gmp_reservation_environment* gmp_env,
236 unsigned int id); 238 unsigned int id);
237*/ 239
238#endif 240#endif