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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
2
 *  COPYRIGHT (c) 1989-1999.
3
 *  On-Line Applications Research Corporation (OAR).
4
 *
5
 *  The license and distribution terms for this file may be
6
 *  found in the file LICENSE in this distribution or at
7
 *  http://www.OARcorp.com/rtems/license.html.
8
 *
9
 *  fmempool.c,v 1.5 2002/07/01 22:35:43 joel Exp
10
 */
11
 
12
#if HAVE_CONFIG_H
13
#include "config.h"
14
#endif
15
 
16
#include <itron.h>
17
 
18
#include <rtems/itron/fmempool.h>
19
 
20
/*
21
 *  _ITRON_Fixed_memory_pool_Manager_initialization
22
 *
23
 *  This routine initializes all fixed memory pool manager related
24
 *  data structures.
25
 *
26
 *  Input parameters:
27
 *    maximum_fixed_memory_pools - maximum configured fixed memory pools
28
 *
29
 *  Output parameters:  NONE
30
 */
31
 
32
void _ITRON_Fixed_memory_pool_Manager_initialization(
33
  unsigned32 maximum_fixed_memory_pools
34
)
35
{
36
  _Objects_Initialize_information(
37
    &_ITRON_Fixed_memory_pool_Information, /* object information table */
38
    OBJECTS_ITRON_API,                 /* object API */
39
    OBJECTS_ITRON_FIXED_MEMORY_POOLS,  /* object class */
40
    maximum_fixed_memory_pools,        /* maximum objects of this class */
41
    sizeof( ITRON_Fixed_memory_pool_Control ),
42
                                 /* size of this object's control block */
43
    FALSE,                       /* TRUE if names for this object are strings */
44
    ITRON_MAXIMUM_NAME_LENGTH    /* maximum length of each object's name */
45
#if defined(RTEMS_MULTIPROCESSING)
46
    ,
47
    FALSE,                       /* TRUE if this is a global object class */
48
    NULL                         /* Proxy extraction support callout */
49
#endif
50
  );
51
 
52
  /*
53
   *  Register the MP Process Packet routine.
54
   *
55
   *  NOTE: No MP Support YET in RTEMS ITRON implementation.
56
   */
57
 
58
}
59
 
60
/*
61
 *  cre_mpf - Create Fixed-Size Memorypool
62
 */
63
 
64
ER cre_mpf(
65
  ID      mpfid,
66
  T_CMPF *pk_cmpf
67
)
68
{
69
  return E_OK;
70
}
71
 
72
/*
73
 *  del_mpf - Delete Fixed-Size Memorypool
74
 */
75
 
76
ER del_mpf(
77
  ID mpfid
78
)
79
{
80
  return E_OK;
81
}
82
 
83
/*
84
 *  get_blf - Get Fixed-Size Memory Block
85
 */
86
 
87
ER get_blf(
88
  VP *p_blf,
89
  ID  mpfid
90
)
91
{
92
  return E_OK;
93
}
94
 
95
/*
96
 *  pget_blf - Poll and Get Fixed-Size Memory Block
97
 */
98
 
99
ER pget_blf(
100
  VP *p_blf,
101
  ID  mpfid
102
)
103
{
104
  return E_OK;
105
}
106
 
107
/*
108
 *  tget_blf - Get Fixed-Size Memory Block with Timeout
109
 */
110
 
111
ER tget_blf(
112
  VP *p_blf,
113
  ID  mpfid,
114
  TMO tmout
115
)
116
{
117
  return E_OK;
118
}
119
 
120
/*
121
 *  rel_blf - Release Fixed-Size Memory Block
122
 */
123
 
124
ER rel_blf(
125
  ID mpfid,
126
  VP blf
127
)
128
{
129
  return E_OK;
130
}
131
 
132
/*
133
 *  ref_mpf - Reference Fixed-Size Memorypool Status
134
 */
135
 
136
ER ref_mpf(
137
  T_RMPF *pk_rmpf,
138
  ID      mpfid
139
)
140
{
141
  return E_OK;
142
}
143
 

powered by: WebSVN 2.1.0

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