//
// 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
/**
* 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_