summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/dpmem.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/src/dpmem.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/cpukit/rtems/src/dpmem.c b/cpukit/rtems/src/dpmem.c
index 6e730e6f75..aae4f2b42a 100644
--- a/cpukit/rtems/src/dpmem.c
+++ b/cpukit/rtems/src/dpmem.c
@@ -1,7 +1,7 @@
/*
* Dual Port Memory 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
@@ -16,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>
@@ -30,21 +31,19 @@
* This routine initializes all dual-ported memory manager related
* data structures.
*
- * Input parameters:
- * maximum_ports - number of ports to initialize
+ * Input parameters: NONE
*
* Output parameters: NONE
*/
-void _Dual_ported_memory_Manager_initialization(
- uint32_t maximum_ports
-)
+void _Dual_ported_memory_Manager_initialization(void)
{
_Objects_Initialize_information(
&_Dual_ported_memory_Information, /* object information table */
OBJECTS_CLASSIC_API, /* object API */
OBJECTS_RTEMS_PORTS, /* object class */
- maximum_ports, /* maximum objects of this class */
+ Configuration_RTEMS_API.maximum_ports,
+ /* maximum objects of this class */
sizeof( Dual_ported_memory_Control ),
/* size of this object's control block */
FALSE, /* TRUE if names of this object are strings */