]> rtime.felk.cvut.cz Git - frescor/fosa.git/commitdiff
Adding support for stdbool in fosa
authortelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 6 Jun 2007 17:24:31 +0000 (17:24 +0000)
committertelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 6 Jun 2007 17:24:31 +0000 (17:24 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@434 35b4ef3e-fd22-0410-ab77-dab3279adceb

include/fosa_opaque_types.h
include/fosa_types.h
src_marte/fosa_app_def_sched.c

index 7b611ece431a1157d24420ccd30b50a08f265e23..ca8b49c77910d75c7d66b28589403b6df27c2ecd 100644 (file)
@@ -63,6 +63,7 @@
 #ifndef _FOSA_OPAQUE_TYPES_H_
 #define _FOSA_OPAQUE_TYPES_H_
 
+#include <stdbool.h>
 
 ////////////////////////// RT_LINUX and MARTE_OS //////////////////////////////
 
index 0e118dd9b744353b4e38a880d6e16daf283e782b..8d018a8adbf7ec801867be7ab57b7f9d75aa7ccb 100644 (file)
@@ -244,7 +244,7 @@ typedef int fosa_ads_urgency_t;
  *   when an error in the scheduling actions list specified in a
  *   previous primitive operation is detected. The cause of the error is
  *   notified in the parameter cause. The defined causes of error are
- *   described fosa_ads_error_cause_tappdefsched
+ *   described fosa_ads_error_cause_t
  *
  * Every primitive operation receives the argument sched_data. It is a
  * pointer to a memory area containing information shared by all the
index fd5da8275cf894fd4e1a9d6c2a64b45b5f8fc60e..439410004d3105d40c3ec2b54a2c9a87419bd8af 100644 (file)
@@ -611,7 +611,6 @@ int fosa_adsactions_add_thread_notification(
   return -1;
 }
 
-
 /**
  * fosa_ads_set_handled_signal_set()
  *
@@ -631,6 +630,8 @@ int fosa_adsactions_add_thread_notification(
  * succeed, it has to be called from a primitive operation of a
  * scheduler.
  *
+ * The size of the array is specified by argument size.
+ *
  * Returns 0 if successful; otherwise it returns an error code:
  *    EPOLICY: The function has not been called from a scheduler 
  *              primitive operation
@@ -640,7 +641,7 @@ int fosa_adsactions_add_thread_notification(
  * notify it to the system console and then terminate the FRSH
  * implementation and dependant applications
  **/
-int fosa_ads_set_handled_signal_set(frsh_signal_t set[])
+int fosa_ads_set_handled_signal_set(frsh_signal_t set[], int size)
 {
   return -1;
 }