Renesas M3T-MR100 Network Card User Manual


 
- 135 -
5.7 Memory Pool Management Function (Fixed-size Memory Pool)
Specifications of the fixed-size memory pool function of MR100 are listed in Table 5.13.
The memory pool area to be acquired can be specified by a section name for each memory pool during configuration.
Table 5.13 Specifications of the Fixed-size memory pool Function
No. Item Content
1 Fixed-size memory pool ID 1-255
2 Number of fixed-size memory block 1-65535
3 Size of fixed-size memory block
-65535
TA_TFIFO: Waiting tasks enqueued in order of FIFO 4 Supported attributes
TA_TPRI: Waiting tasks enqueued in order of priority
5 Specification of memory pool area Area to be acquired specifiable by a section
Table 5.14 List of Fixed-size memory pool Function Service Call
System State
No. Service Call Function
T N E D U L
1 get_mpf
[S][B]
Aquires fixed-size memory block O O O
2 pget_mpf
[S][B]
O O O O
3 ipget_mpf
Aquires fixed-size memory block
(polling)
O O O O
4 tget_mpf
[S]
Aquires fixed-size memory block
(with timeout)
O O O
5 rel_mpf
[S][B]
O O O O
6 irel_mpf
Releases fixed-size memory block
O O O O
7 ref_mpf O O O O
8 iref_mpf
References fixed-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