summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/config.h
diff options
context:
space:
mode:
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