OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [rtems/] [src/] [dpmem.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
2
 *  Dual Port Memory Manager
3
 *
4
 *  COPYRIGHT (c) 1989-1999.
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.OARcorp.com/rtems/license.html.
10
 *
11
 *  dpmem.c,v 1.15 2002/07/01 22:32:31 joel Exp
12
 */
13
 
14
#include <rtems/system.h>
15
#include <rtems/rtems/status.h>
16
#include <rtems/rtems/support.h>
17
#include <rtems/score/address.h>
18
#include <rtems/rtems/dpmem.h>
19
#include <rtems/score/object.h>
20
#include <rtems/score/thread.h>
21
#include <rtems/rtems/dpmem.h>
22
 
23
/*PAGE
24
 *
25
 *  _Dual_ported_memory_Manager_initialization
26
 *
27
 *  This routine initializes all dual-ported memory manager related
28
 *  data structures.
29
 *
30
 *  Input parameters:
31
 *    maximum_ports - number of ports to initialize
32
 *
33
 *  Output parameters:  NONE
34
 */
35
 
36
void _Dual_ported_memory_Manager_initialization(
37
  unsigned32 maximum_ports
38
)
39
{
40
  _Objects_Initialize_information(
41
    &_Dual_ported_memory_Information, /* object information table */
42
    OBJECTS_CLASSIC_API,              /* object API */
43
    OBJECTS_RTEMS_PORTS,              /* object class */
44
    maximum_ports,                    /* maximum objects of this class */
45
    sizeof( Dual_ported_memory_Control ),
46
                                  /* size of this object's control block */
47
    FALSE,                        /* TRUE if names of this object are strings */
48
    RTEMS_MAXIMUM_NAME_LENGTH     /* maximum length of each object's name */
49
#if defined(RTEMS_MULTIPROCESSING)
50
    ,
51
    FALSE,                        /* TRUE if this is a global object class */
52
    NULL                          /* Proxy extraction support callout */
53
#endif
54
  );
55
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.