OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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: fmempool.c,v 1.2 2001-09-27 11:59:13 chris Exp $
10
 */
11
 
12
#include <itron.h>
13
 
14
#include <rtems/itron/fmempool.h>
15
 
16
/*
17
 *  _ITRON_Fixed_memory_pool_Manager_initialization
18
 *
19
 *  This routine initializes all fixed memory pool manager related
20
 *  data structures.
21
 *
22
 *  Input parameters:
23
 *    maximum_fixed_memory_pools - maximum configured fixed memory pools
24
 *
25
 *  Output parameters:  NONE
26
 */
27
 
28
void _ITRON_Fixed_memory_pool_Manager_initialization(
29
  unsigned32 maximum_fixed_memory_pools
30
)
31
{
32
  _Objects_Initialize_information(
33
    &_ITRON_Fixed_memory_pool_Information, /* object information table */
34
    OBJECTS_ITRON_FIXED_MEMORY_POOLS,  /* object class */
35
    FALSE,                             /* TRUE if this is a global */
36
                                       /*   object class */
37
    maximum_fixed_memory_pools,        /* maximum objects of this class */
38
    sizeof( ITRON_Fixed_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_mpf - Create Fixed-Size Memorypool
57
 */
58
 
59
ER cre_mpf(
60
  ID      mpfid,
61
  T_CMPF *pk_cmpf
62
)
63
{
64
  return E_OK;
65
}
66
 
67
/*
68
 *  del_mpf - Delete Fixed-Size Memorypool
69
 */
70
 
71
ER del_mpf(
72
  ID mpfid
73
)
74
{
75
  return E_OK;
76
}
77
 
78
/*
79
 *  get_blf - Get Fixed-Size Memory Block
80
 */
81
 
82
ER get_blf(
83
  VP *p_blf,
84
  ID  mpfid
85
)
86
{
87
  return E_OK;
88
}
89
 
90
/*
91
 *  pget_blf - Poll and Get Fixed-Size Memory Block
92
 */
93
 
94
ER pget_blf(
95
  VP *p_blf,
96
  ID  mpfid
97
)
98
{
99
  return E_OK;
100
}
101
 
102
/*
103
 *  tget_blf - Get Fixed-Size Memory Block with Timeout
104
 */
105
 
106
ER tget_blf(
107
  VP *p_blf,
108
  ID  mpfid,
109
  TMO tmout
110
)
111
{
112
  return E_OK;
113
}
114
 
115
/*
116
 *  rel_blf - Release Fixed-Size Memory Block
117
 */
118
 
119
ER rel_blf(
120
  ID mpfid,
121
  VP blf
122
)
123
{
124
  return E_OK;
125
}
126
 
127
/*
128
 *  ref_mpf - Reference Fixed-Size Memorypool Status
129
 */
130
 
131
ER ref_mpf(
132
  T_RMPF *pk_rmpf,
133
  ID      mpfid
134
)
135
{
136
  return E_OK;
137
}
138
 

powered by: WebSVN 2.1.0

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