Download RI850V4 Real-Time Operating System User`s Manual: Coding

Transcript
RI850V4 Ver.1.00.00
17.2.9
CHAPTER 17 SERVICE CALLS
Memory pool management functions (fixed-sized memory pools)
The following shows the service calls provided by the RI850V4 as the memory pool management functions (fixed-sized
memory pools).
Table 17-9 Memory Pool Management Functions (Fixed-Sized Memory Pools)
Service Call
Function
Origin of Service Call
get_mpf
Acquire fixed-sized memory block (waiting forever)
Task
pget_mpf
Acquire fixed-sized memory block (polling)
Task, Non-task, Initialization routine
ipget_mpf
Acquire fixed-sized memory block (polling)
Task, Non-task, Initialization routine
tget_mpf
Acquire fixed-sized memory block (with timeout)
Task
rel_mpf
Release fixed-sized memory block
Task, Non-task, Initialization routine
irel_mpf
Release fixed-sized memory block
Task, Non-task, Initialization routine
ref_mpf
Reference fixed-sized memory pool state
Task, Non-task, Initialization routine
iref_mpf
Reference fixed-sized memory pool state
Task, Non-task, Initialization routine
R20UT0515EJ0100 Rev.1.00
Apr 01, 2011
Page 294 of 406