summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/config.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-13 20:44:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-13 20:44:37 +0000
commite552d0577fd43c631b7aa653e3e54f5396740fd3 (patch)
tree555a69918e766cac46618b23c505ccd9472c0a6d /cpukit/rtems/include/rtems/rtems/config.h
parent2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-e552d0577fd43c631b7aa653e3e54f5396740fd3.tar.bz2
2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/config.h: Add rtems_configuration_get_maximum_semaphores().
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/include/rtems/rtems/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/config.h b/cpukit/rtems/include/rtems/rtems/config.h
index 4b6ea93bc2..c89207de85 100644
--- a/cpukit/rtems/include/rtems/rtems/config.h
+++ b/cpukit/rtems/include/rtems/rtems/config.h
@@ -135,6 +135,12 @@ extern rtems_api_configuration_table Configuration_RTEMS_API;
#define rtems_configuration_get_notepads_enabled() \
rtems_configuration_get_rtems_api_configuration()->notepads_enabled
+/**
+ * This macro returns the number of Classic API semaphores configured.
+ */
+#define rtems_configuration_get_maximum_semaphores() \
+ rtems_configuration_get_rtems_api_configuration()->maximum_semaphores
+
#ifdef __cplusplus
}
#endif