]> rtime.felk.cvut.cz Git - frescor/fosa.git/blobdiff - include/fosa_configuration_parameters.h
Adding FOSA_CPP_BEING|END_DECLS to allow interfacing with C++
[frescor/fosa.git] / include / fosa_configuration_parameters.h
index e2a288c84d29f87ca292465b3299c285487f8c83..b6a684432f2c639dd7ccdf74c27d41c046749a94 100644 (file)
 //
 // FOSA(Frescor Operating System Adaptation layer)
 //================================================
-
+// 15-Nov-2007 sangorrin: add FOSA_CLOCK_ABSOLUTE for fosa_cond_timedwait
 
 #ifndef        _FOSA_CONFIG_PARAM_H_
 #define        _FOSA_CONFIG_PARAM_H_
 
-
+FOSA_CPP_BEGIN_DECLS
 
 // the realtime clock used internally by the FRSH implementation
 // as the time basis for all timed services
 #define  FOSA_CLOCK_REALTIME   CLOCK_MONOTONIC
+#define  FOSA_CLOCK_ABSOLUTE   CLOCK_REALTIME
 
 // The maximum number of keys, or data items that may be associated
 // with each thread, in the thread-specific data
@@ -80,7 +81,7 @@
 /**
  * Real-time signal number reserved for the long jump handler
  **/
-#define FOSA_LONG_JUMP_SIGNAL             FRSH_SIGNAL_MIN+1
+#define FOSA_LONG_JUMP_SIGNAL             FOSA_SIGNAL_MIN+1
 
 
 
  *********/
 
 // the maximum size in bytes of the ADS scheduling parameters
-#define FOSA_ADS_SCHEDPARAM_MAX   2000
+#define FOSA_ADS_SCHEDPARAM_MAX   3000
 
 // the maximum size in bytes of the data exchanged between a thread
 // and an ADS scheduler
-#define FOSA_ADS_SCHEDINFO_MAX   2000
+#define FOSA_ADS_SCHEDINFO_MAX   3000
 
 
 // the difference between the maximum SCHED_FIFO priority
 // The preemption level of the ADS scheduler thread
 #define FOSA_ADS_SCHEDULER_LEVEL 0xffff
 
+FOSA_CPP_END_DECLS
+
 #endif // _FOSA_CONFIG_PARAM_H_