From: mgh Date: Thu, 22 Nov 2007 17:57:04 +0000 (+0000) Subject: Incrementing the maximum size of ADS data to make room for shared object memory regions. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/fosa.git/commitdiff_plain/a41afdfc4f82bb6000f48bdd87f2813cd83a0003 Incrementing the maximum size of ADS data to make room for shared object memory regions. git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@876 35b4ef3e-fd22-0410-ab77-dab3279adceb --- diff --git a/include/fosa_configuration_parameters.h b/include/fosa_configuration_parameters.h index e119451..3b22ddf 100644 --- a/include/fosa_configuration_parameters.h +++ b/include/fosa_configuration_parameters.h @@ -90,11 +90,11 @@ *********/ // 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 diff --git a/include/fosa_opaque_types.h b/include/fosa_opaque_types.h index e52ebe2..4ac1c06 100644 --- a/include/fosa_opaque_types.h +++ b/include/fosa_opaque_types.h @@ -107,7 +107,6 @@ typedef struct { #define FOSA_ADS_ACTIONS_T_OPAQUE fosa_ads_actions_internal_t - /////////////////// // Long jumps /////////////////// @@ -135,6 +134,7 @@ typedef struct { #endif // defined(RT_LINUX) || defined(MARTE_OS) || defined(AQuoSA) + ////////////////// END OF RT_LINUX, MARTE_OS and AQuoSA ////////////////////// diff --git a/include/fosa_threads_and_signals.h b/include/fosa_threads_and_signals.h index 8c37a90..cc79e61 100644 --- a/include/fosa_threads_and_signals.h +++ b/include/fosa_threads_and_signals.h @@ -166,7 +166,9 @@ frsh_thread_id_t fosa_thread_self(); * Create a new key for thread specific data. * * Prior to setting data in a key, we need ask the system to create - * one for us. + * one for us. The thread specific data of all the threads is set to + * the value NULL until changed to a different value via + * fosa_thread_set_specific_data(). * * @return 0 if successful \n * FOSA_EINVAL If we already have reached the FOSA_MAX_KEYS limit. @@ -180,7 +182,7 @@ int fosa_key_create(int *key); * * Destroy a key * - * This destroys the key and isables its use in the system + * This destroys the key and disables its use in the system * * @return 0 if successful \n * FOSA_EINVAL The key is not initialised or is not in FOSA key range.