- 143 -
5.8 Memory Pool Management Function (Variable-size Memory Pool)
Specifications of the Variable-size Memory pool function of MR100 are listed in Table 5.15.
The memory pool area to be acquired can be specified by a section name for each memory pool during configuration.
Table 5.15 Specifications of the Variable-size memory Pool Function
No.
Item
Content
1
Variable-size memory pool ID
1-255
2
Size of Variable-size Memory pool
32-67108864
3
Maximum number of memory blocks to
be acquired
4-65504
4
Supported attributes
When memory is insufficient, task-waiting APIs are not sup-
ported.
5
Specification of memory pool area
Area to be acquired specifiable by a section
Table 5.16 List of Variable -size memory pool Function Service Call
System State
No. Service
Call
Function
T N E D
U
L
1
pget_mpl
Aquires variable-size memory block (polling)
O
O
O
O
2
rel_mpl
Releases variable-size memory block
O
O
O
O
3 ref_mpl
O
O
O
O
4 iref_mpl
References variable-size memory pool status
O O O
O
Notes:
•
[S]: Standard profile service calls
[B]: Basic profile service calls
•
Each sign within " System State " is a following meaning.
♦
T: Can be called from task context
♦
N: Can be called from non-task context
♦
E: Can be called from dispatch-enabled state
♦
D: Can be called from dispatch-disabled state
♦
U: Can be called from CPU-unlocked state
♦
L: Can be called from CPU-locked state