]> rtime.felk.cvut.cz Git - frescor/fosa.git/commitdiff
git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@353 35b4ef3e-fd22...
authormarchanda <marchanda@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 20 Mar 2007 12:07:30 +0000 (12:07 +0000)
committermarchanda <marchanda@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Tue, 20 Mar 2007 12:07:30 +0000 (12:07 +0000)
src_rtlinux/fosa_app_def_sched.h
src_rtlinux/fosa_threads_and_signals.h

index 3d22425e51a0d8a5b8e194b4990a8f5391eb5fb6..3b10eb6bccbb0d59240e000e4af8cbcea7a85c7a 100644 (file)
@@ -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);
+}
 /*}*/
 
 
index b21689a7bc473aa6e37065a85f49d58c90baaf18..04e80e5a9379e30d8dc2c506c3ba30e70fe317e8 100644 (file)
@@ -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;
      }