diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/src/msg.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/cpukit/rtems/src/msg.c b/cpukit/rtems/src/msg.c index 555c40e64f..de8b42bf08 100644 --- a/cpukit/rtems/src/msg.c +++ b/cpukit/rtems/src/msg.c @@ -2,7 +2,7 @@ * Message Queue Manager * * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -17,6 +17,7 @@ #endif #include <rtems/system.h> +#include <rtems/config.h> #include <rtems/score/sysstate.h> #include <rtems/score/chain.h> #include <rtems/score/isr.h> @@ -41,29 +42,28 @@ * This routine initializes all message queue manager related * data structures. * - * Input parameters: - * maximum_message_queues - number of message queues to initialize + * Input parameters: NONE * * Output parameters: NONE */ -void _Message_queue_Manager_initialization( - uint32_t maximum_message_queues -) +void _Message_queue_Manager_initialization(void) { _Objects_Initialize_information( &_Message_queue_Information, /* object information table */ OBJECTS_CLASSIC_API, /* object API */ OBJECTS_RTEMS_MESSAGE_QUEUES, /* object class */ - maximum_message_queues, /* maximum objects of this class */ + Configuration_RTEMS_API.maximum_message_queues, + /* maximum objects of this class */ sizeof( Message_queue_Control ), - /* size of this object's control block */ - FALSE, /* TRUE if names of this object are strings */ - RTEMS_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ + /* size of this object's control block */ + FALSE, /* TRUE if names of this object are strings */ + RTEMS_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) , - TRUE, /* TRUE if this is a global object class */ - _Message_queue_MP_Send_extract_proxy /* Proxy extraction support callout */ + TRUE, /* TRUE if this is a global object class */ + _Message_queue_MP_Send_extract_proxy + /* Proxy extraction support callout */ #endif ); |