From 39957e99ed544d9f5effc74cff3c483221220f1a Mon Sep 17 00:00:00 2001 From: marchanda Date: Tue, 20 Mar 2007 12:07:30 +0000 Subject: [PATCH] git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@353 35b4ef3e-fd22-0410-ab77-dab3279adceb --- src_rtlinux/fosa_app_def_sched.h | 11 ++++++++--- src_rtlinux/fosa_threads_and_signals.h | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src_rtlinux/fosa_app_def_sched.h b/src_rtlinux/fosa_app_def_sched.h index 3d22425..3b10eb6 100644 --- a/src_rtlinux/fosa_app_def_sched.h +++ b/src_rtlinux/fosa_app_def_sched.h @@ -601,9 +601,14 @@ int fosa_ads_set_handled_signal_set(frsh_signal_t set[]); * notify it to the system console and then terminate the FRSH * implementation and dependant applications **/ -int fosa_ads_invoke_withdata - (const void *msg, size_t msg_size, void *reply, size_t *reply_size); - +// int fosa_ads_invoke_withdata +// (const void *msg, size_t msg_size, void *reply, size_t *reply_size); +extern int fosa_ads_invoke_withdata (const void *msg, + size_t msg_size, + void *reply, + size_t *reply_size){ + posix_appsched_invoke_withdata(msg, msg_size, reply, reply_size); +} /*}*/ diff --git a/src_rtlinux/fosa_threads_and_signals.h b/src_rtlinux/fosa_threads_and_signals.h index b21689a..04e80e5 100644 --- a/src_rtlinux/fosa_threads_and_signals.h +++ b/src_rtlinux/fosa_threads_and_signals.h @@ -106,7 +106,7 @@ extern inline bool fosa_thread_equal(frsh_thread_id_t t1, frsh_thread_id_t t2){ //frsh_thread_id_t fosa_thread_self(); extern inline frsh_thread_id_t fosa_thread_self(){ - retrun pthread_self(); + return pthread_self(); } /************************* @@ -322,7 +322,7 @@ extern inline int fosa_thread_attr_get_prio (const frsh_thread_attr_t *attr, si **/ int fosa_thread_set_prio(frsh_thread_id_t tid, int prio); extern inline fosa_thread_set_prio(frsh_thread_id_t tid, int prio){ - if ((ched_get_priority_min(0)<=prio) || (prio<=sched_get_priority_min(0))){ + if ((sched_get_priority_min(0)<=prio) || (prio<=sched_get_priority_min(0))){ pthread_setschedprio(tid,prio); return 0; } -- 2.39.2