source: rtems/cpukit/rtems/src/dpmem.c @ db80f11

4.104.115
Last change on this file since db80f11 was db80f11, checked in by Joel Sherrill <joel.sherrill@…>, on 12/17/08 at 20:21:40

2008-12-17 Joel Sherrill <joel.sherrill@…>

  • rtems/Makefile.am, rtems/include/rtems/rtems/attr.h, rtems/include/rtems/rtems/barrier.h, rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h, rtems/src/barrier.c, rtems/src/dpmem.c, rtems/src/msg.c, rtems/src/part.c, rtems/src/ratemon.c, rtems/src/region.c, rtems/src/rtemstimer.c, rtems/src/sem.c, rtems/src/tasks.c, sapi/src/rtemsapi.c: Convert manager initialization routines to directly pull parameters from configuration table. Eliminate empty routines sportted.
  • rtems/src/intr.c: Removed.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*
2 *  Dual Port Memory Manager
3 *
4 *  COPYRIGHT (c) 1989-2008.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <rtems/system.h>
19#include <rtems/config.h>
20#include <rtems/rtems/status.h>
21#include <rtems/rtems/support.h>
22#include <rtems/score/address.h>
23#include <rtems/rtems/dpmem.h>
24#include <rtems/score/object.h>
25#include <rtems/score/thread.h>
26
27/*PAGE
28 *
29 *  _Dual_ported_memory_Manager_initialization
30 *
31 *  This routine initializes all dual-ported memory manager related
32 *  data structures.
33 *
34 *  Input parameters:   NONE
35 *
36 *  Output parameters:  NONE
37 */
38
39void _Dual_ported_memory_Manager_initialization(void)
40{
41  _Objects_Initialize_information(
42    &_Dual_ported_memory_Information, /* object information table */
43    OBJECTS_CLASSIC_API,              /* object API */
44    OBJECTS_RTEMS_PORTS,              /* object class */
45    Configuration_RTEMS_API.maximum_ports,
46                                  /* maximum objects of this class */
47    sizeof( Dual_ported_memory_Control ),
48                                  /* size of this object's control block */
49    FALSE,                        /* TRUE if names of this object are strings */
50    RTEMS_MAXIMUM_NAME_LENGTH     /* maximum length of each object's name */
51#if defined(RTEMS_MULTIPROCESSING)
52    ,
53    FALSE,                        /* TRUE if this is a global object class */
54    NULL                          /* Proxy extraction support callout */
55#endif
56  );
57}
Note: See TracBrowser for help on using the repository browser.