source: rtems/cpukit/itron/src/vmempool.c @ 20f78a3

4.104.114.84.95
Last change on this file since 20f78a3 was 20f78a3, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/23/04 at 13:13:17

2004-03-23 Ralf Corsepius <ralf_corsepius@…>

  • itron/include/itronsys/mbox.h, itron/include/itronsys/types.h, itron/include/rtems/itron/eventflags.h, itron/include/rtems/itron/fmempool.h, itron/include/rtems/itron/mbox.h, itron/include/rtems/itron/msgbuffer.h, itron/include/rtems/itron/port.h, itron/include/rtems/itron/semaphore.h, itron/include/rtems/itron/task.h, itron/include/rtems/itron/vmempool.h, itron/inline/rtems/itron/semaphore.inl, itron/macros/rtems/itron/semaphore.inl, itron/src/eventflags.c, itron/src/fmempool.c, itron/src/itronsem.c, itron/src/mbox.c, itron/src/msgbuffer.c, itron/src/port.c, itron/src/snd_mbx.c, itron/src/task.c, itron/src/trcv_mbx.c, itron/src/vmempool.c: Convert to using c99 fixed size types.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1/*
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.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <itron.h>
17
18#include <rtems/itron/vmempool.h>
19
20/*
21 *  _ITRON_Variable_memory_pool_Manager_initialization
22 * 
23 *  This routine initializes all variable memory pool manager related
24 *  data structures.
25 *
26 *  Input parameters:
27 *    maximum_variable_memory_pools - maximum configured variable memory pools
28 *
29 *  Output parameters:  NONE
30 */
31
32void _ITRON_Variable_memory_pool_Manager_initialization(
33  uint32_t   maximum_variable_memory_pools
34)
35{
36  _Objects_Initialize_information(
37    &_ITRON_Variable_memory_pool_Information, /* object information table */
38    OBJECTS_ITRON_API,                        /* object API */
39    OBJECTS_ITRON_VARIABLE_MEMORY_POOLS,      /* object class */
40    maximum_variable_memory_pools, /* maximum objects of this class */
41    sizeof( ITRON_Variable_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_mpl - Create Variable-Size Memorypool
62 */
63
64ER cre_mpl(
65  ID      mplid,
66  T_CMPL *pk_cmpl
67)
68{
69  return E_OK;
70}
71
72/*
73 *  del_mpl - Delete Variable-Size Memorypool
74 */
75
76ER del_mpl(
77  ID mplid
78)
79{
80  return E_OK;
81}
82
83/*
84 *  get_blk - Get Variable-Size Memory Block
85 */
86
87ER get_blk(
88  VP  *p_blk,
89  ID   mplid,
90  INT  blksz
91)
92{
93  return E_OK;
94}
95
96/*
97 *  pget_blk - Poll and Get Variable-Size Memory Block
98 */
99
100ER pget_blk(
101  VP  *p_blk,
102  ID   mplid,
103  INT  blksz
104)
105{
106  return E_OK;
107}
108
109/*
110 *  tget_blk - Get Variable-Size Memory Block with Timeout
111 */
112
113ER tget_blk(
114  VP  *p_blk,
115  ID   mplid,
116  INT  blksz,
117  TMO  tmout
118)
119{
120  return E_OK;
121}
122
123/*
124 *  rel_blk - Release Variable-Size Memory Block
125 */
126
127ER rel_blk(
128  ID  mplid,
129  VP  blk
130)
131{
132  return E_OK;
133}
134
135/*
136 *  ref_mpl - Reference Variable-Size Memorypool Status
137 */
138
139ER ref_mpl(
140  T_RMPL *pk_rmpl,
141  ID      mplid
142)
143{
144  return E_OK;
145}
146
Note: See TracBrowser for help on using the repository browser.