source: rtems/cpukit/itron/src/vmempool.c @ 7fcc26ac

4.104.114.84.95
Last change on this file since 7fcc26ac was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15

Merged from 4.5.0-beta3a

  • 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.OARcorp.com/rtems/license.html.
8 *
9 *  $Id$
10 */
11
12#include <itron.h>
13
14#include <rtems/itron/vmempool.h>
15
16/*
17 *  _ITRON_Variable_memory_pool_Manager_initialization
18 * 
19 *  This routine initializes all variable memory pool manager related
20 *  data structures.
21 *
22 *  Input parameters:
23 *    maximum_variable_memory_pools - maximum configured variable memory pools
24 *
25 *  Output parameters:  NONE
26 */
27
28void _ITRON_Variable_memory_pool_Manager_initialization(
29  unsigned32 maximum_variable_memory_pools
30)
31{
32  _Objects_Initialize_information(
33    &_ITRON_Variable_memory_pool_Information, /* object information table */
34    OBJECTS_ITRON_VARIABLE_MEMORY_POOLS,      /* object class */
35    FALSE,                             /* TRUE if this is a global */
36                                       /*   object class */
37    maximum_variable_memory_pools,     /* maximum objects of this class */
38    sizeof( ITRON_Variable_memory_pool_Control ),
39                                       /* size of this object's control block */
40    FALSE,                             /* TRUE if names for this object */
41                                       /*   are strings */
42    ITRON_MAXIMUM_NAME_LENGTH,         /* maximum length of each object's */
43                                       /*   name */
44    FALSE                              /* TRUE if this class is threads */
45  );
46   
47  /*
48   *  Register the MP Process Packet routine.
49   *
50   *  NOTE: No MP Support YET in RTEMS ITRON implementation.
51   */
52 
53}   
54
55/*
56 *  cre_mpl - Create Variable-Size Memorypool
57 */
58
59ER cre_mpl(
60  ID      mplid,
61  T_CMPL *pk_cmpl
62)
63{
64  return E_OK;
65}
66
67/*
68 *  del_mpl - Delete Variable-Size Memorypool
69 */
70
71ER del_mpl(
72  ID mplid
73)
74{
75  return E_OK;
76}
77
78/*
79 *  get_blk - Get Variable-Size Memory Block
80 */
81
82ER get_blk(
83  VP  *p_blk,
84  ID   mplid,
85  INT  blksz
86)
87{
88  return E_OK;
89}
90
91/*
92 *  pget_blk - Poll and Get Variable-Size Memory Block
93 */
94
95ER pget_blk(
96  VP  *p_blk,
97  ID   mplid,
98  INT  blksz
99)
100{
101  return E_OK;
102}
103
104/*
105 *  tget_blk - Get Variable-Size Memory Block with Timeout
106 */
107
108ER tget_blk(
109  VP  *p_blk,
110  ID   mplid,
111  INT  blksz,
112  TMO  tmout
113)
114{
115  return E_OK;
116}
117
118/*
119 *  rel_blk - Release Variable-Size Memory Block
120 */
121
122ER rel_blk(
123  ID  mplid,
124  VP  blk
125)
126{
127  return E_OK;
128}
129
130/*
131 *  ref_mpl - Reference Variable-Size Memorypool Status
132 */
133
134ER ref_mpl(
135  T_RMPL *pk_rmpl,
136  ID      mplid
137)
138{
139  return E_OK;
140}
141
Note: See TracBrowser for help on using the repository browser.