From 08460431b461271ca48a9c65c66f18adb87749aa Mon Sep 17 00:00:00 2001 From: "John M. Calandrino" Date: Tue, 24 Apr 2007 21:16:41 -0400 Subject: Added some missing function prototypes to litmus.h, so that liblitmus can be linked into other places later (such as libso). --- litmus.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/litmus.h b/litmus.h index f46e705..7fa6ede 100644 --- a/litmus.h +++ b/litmus.h @@ -72,6 +72,14 @@ int sleep_next_period(void); int scheduler_setup(int cmd, void* param); int enter_np(void); int exit_np(void); +int pi_sema_init(void); +int pi_down(pi_sema_id sem_id); +int pi_up(pi_sema_id sem_id); +int pi_sema_free(pi_sema_id sem_id); +int sema_init(void); +int down(sema_id sem_id); +int up(sema_id sem_id); +int sema_free(sema_id sem_id); /* library functions */ int create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, int period); -- cgit v1.2.2