diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-28 18:21:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-28 18:21:01 +0000 |
commit | 2ad3d0245928ecbff016dd02efb10ba142c75843 (patch) | |
tree | d68ef1def0172c2b0fcba9cb948b002c7b36a0dd /cpukit/rtems/include/rtems.h | |
parent | Fix typo. (diff) | |
download | rtems-2ad3d0245928ecbff016dd02efb10ba142c75843.tar.bz2 |
2008-04-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
rtems/include/rtems/rtems/status.h,
rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
Diffstat (limited to 'cpukit/rtems/include/rtems.h')
-rw-r--r-- | cpukit/rtems/include/rtems.h | 62 |
1 files changed, 57 insertions, 5 deletions
diff --git a/cpukit/rtems/include/rtems.h b/cpukit/rtems/include/rtems.h index e4441ec069..49cf5f76e0 100644 --- a/cpukit/rtems/include/rtems.h +++ b/cpukit/rtems/include/rtems.h @@ -31,7 +31,11 @@ extern "C" { #endif -/* +#if (!defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__)) && \ + (!defined(__RTEMS_INSIDE__)) +/** + * @brief Compiling RTEMS Application Macro + * * Unless told otherwise, the RTEMS include files will hide some stuff * from normal application code. Defining this crosses a boundary which * is undesirable since it means your application is using RTEMS features @@ -39,7 +43,6 @@ extern "C" { * Define this at your own risk. */ -#if (!defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__)) && (!defined(__RTEMS_INSIDE__)) #define __RTEMS_APPLICATION__ #endif @@ -76,23 +79,72 @@ extern "C" { #include <rtems/rtems/support.h> #include <rtems/score/sysstate.h> +/** + * This constant indicates whether this processor variant has + * hardware floating point support. + */ #define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP -/** +/* * The following define the constants which may be used in name searches. */ + +/** + * This constant indicates that the search is across all nodes. + */ #define RTEMS_SEARCH_ALL_NODES OBJECTS_SEARCH_ALL_NODES + +/** + * This constant indicates that the search is across all nodes + * except the one the call is made from. + */ #define RTEMS_SEARCH_OTHER_NODES OBJECTS_SEARCH_OTHER_NODES + +/** + * This constant indicates that the search is to be restricted + * to the local node. + */ #define RTEMS_SEARCH_LOCAL_NODE OBJECTS_SEARCH_LOCAL_NODE -#define RTEMS_WHO_AM_I OBJECTS_WHO_AM_I /** + * This constant indicates that the caller wants to obtain the + * name of the currently executing thread. + * + * @note This constant is only meaningful when obtaining the name + * of a task. + */ +#define RTEMS_WHO_AM_I OBJECTS_WHO_AM_I + +/* * Parameters and return id's for _Objects_Get_next */ + +/** + * This constant is the lowest valid valid for the index portion + * of an object Id. + */ #define RTEMS_OBJECT_ID_INITIAL_INDEX OBJECTS_ID_INITIAL_INDEX + +/** + * This constant is the maximum valid valid for the index portion + * of an object Id. + */ #define RTEMS_OBJECT_ID_FINAL_INDEX OBJECTS_ID_FINAL_INDEX -#define RTEMS_OBJECT_ID_INITIAL(api, class, node) OBJECTS_ID_INITIAL(api, class, node) +/** + * This method returns the Id of the object with the lowest + * valid index valud. + * + * @param[in] _api is the API of the object + * @param[in] _class is the Object Class of the object + * @param[in] _node is the node where the object resides + */ +#define RTEMS_OBJECT_ID_INITIAL(_api, _class, _node) \ + OBJECTS_ID_INITIAL(_api, _class, _node) + +/** + * This constant is the maximum valid object Id. + */ #define RTEMS_OBJECT_ID_FINAL OBJECTS_ID_FINAL /** |