diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/src/part.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/cpukit/rtems/src/part.c b/cpukit/rtems/src/part.c index 35bd043679..ab23479b8b 100644 --- a/cpukit/rtems/src/part.c +++ b/cpukit/rtems/src/part.c @@ -1,8 +1,7 @@ /* * Partition 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 +16,7 @@ #endif #include <rtems/system.h> +#include <rtems/config.h> #include <rtems/rtems/status.h> #include <rtems/rtems/support.h> #include <rtems/score/address.h> @@ -32,21 +32,19 @@ * This routine initializes all partition manager related * data structures. * - * Input parameters: - * maximum_partitions - number of partitions to initialize + * Input parameters: NONE * * Output parameters: NONE */ -void _Partition_Manager_initialization( - uint32_t maximum_partitions -) +void _Partition_Manager_initialization(void) { _Objects_Initialize_information( &_Partition_Information, /* object information table */ OBJECTS_CLASSIC_API, /* object API */ OBJECTS_RTEMS_PARTITIONS, /* object class */ - maximum_partitions, /* maximum objects of this class */ + Configuration_RTEMS_API.maximum_partitions, + /* maximum objects of this class */ sizeof( Partition_Control ), /* size of this object's control block */ FALSE, /* TRUE if the name is a string */ RTEMS_MAXIMUM_NAME_LENGTH /* maximum length of an object name */ |