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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [itron/] [src/] [vmempool.c] - Blame information for rev 609

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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: vmempool.c,v 1.2 2001-09-27 11:59:13 chris Exp $
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
 
28
void _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
 
59
ER 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
 
71
ER del_mpl(
72
  ID mplid
73
)
74
{
75
  return E_OK;
76
}
77
 
78
/*
79
 *  get_blk - Get Variable-Size Memory Block
80
 */
81
 
82
ER 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
 
95
ER 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
 
108
ER 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
 
122
ER 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
 
134
ER ref_mpl(
135
  T_RMPL *pk_rmpl,
136
  ID      mplid
137
)
138
{
139
  return E_OK;
140
}
141
 

powered by: WebSVN 2.1.0

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