From e552d0577fd43c631b7aa653e3e54f5396740fd3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 13 Sep 2009 20:44:37 +0000 Subject: 2009-09-13 Joel Sherrill * rtems/include/rtems/rtems/config.h: Add rtems_configuration_get_maximum_semaphores(). --- cpukit/rtems/include/rtems/rtems/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpukit/rtems/include/rtems/rtems/config.h') 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 -- cgit v1.2.3