#include <unistd.h>
+FRSH_CPP_BEGIN_DECLS
+
/**
* @file frsh_configuration_parameters.h
*
/** This defines 1 resource_id value for systems that have only one
resource of a kind. **/
#define FRSH_RESOURCE_ID_DEFAULT 0
-#define FRSH_CPU_ID_DEFAULT 1
+#define FRSH_CPU_ID_DEFAULT 0
#define FRSH_NETWORK_ID_DEFAULT 0
/**
**/
#define FRSH_MAX_N_UTILIZATION_VALUES 5
+/** Number of importance levels for spare capacity allocation **/
+#define FRSH_N_IMPORTANCE_LEVELS 5
/**
* Maximum number of synchronization objects
/** Maximum number of send and receive endpoints in a single node **/
#define FRSH_MAX_N_ENDPOINTS 10
+/** Maximum number of chars for a contract label **/
+#define FRSH_CONTRACT_LABEL_MAXLENGTH 15
+
/*@}*/
/**
**/
/** Initial period of the service thread (timespec) **/
-#define FRSH_SERVICE_THREAD_PERIOD {5,0}
+#define FRSH_SERVICE_THREAD_PERIOD_USECS 5000000 /* 5 secs */
/** Initial budget of the service thread (timespec) **/
-#define FRSH_SERVICE_THREAD_BUDGET {0,1000000}
+#define FRSH_SERVICE_THREAD_BUDGET_USECS 1000 /* 1 msec */
/**
* Initial priority of the service thread, it has to be lower than the
* The cpu time given by the round robin scheduler
* to the threads in the background (timespec)
**/
-#define FRSH_RR_SLICE_CPU_TIME {0,100000000} //3 0.1 sec
+#define FRSH_RR_SLICE_CPU_TIME_USECS 100000 // 0.1 sec
/**
* This function must be supplied by the user to map the preemption
/*@}*/
+FRSH_CPP_END_DECLS
+
#endif /* _FRSH_CONFIGURATION_PARAMETERS_H_ */