-
rel_mpf
irel_mpf
-
Release fixed-sized memory block.
ER rel_mpf (ID mpfid, VP blk);
ER irel_mpf (ID mpfid, VP blk);
|
|
|
|
ID mpfid;
|
ID number of the fixed-sized memory pool.
|
|
VP blk;
|
Start address of the memory block to be released.
|
This service call returns the fixed-sized memory block specified by parameter
blk to the fixed-sized memory pool specified by parameter
mpfid.
If a task is queued to the target fixed-sized memory pool wait queue when this service call is issued, fixed-sized memory block return processing is not performed but fixed-sized memory blocks are returned to the relevant task (first task of wait queue).
As a result, the relevant task is unlinked from the wait queue and is moved from the WAITING state (WAITING state for a fixed-sized memory block) to the READY state, or from the WAITING-SUSPENDED state to the SUSPENDED state.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- This service call was issued in the CPU locked state.
- The irel_mpf was issued from task.
- The rel_mpf was issued from non-task.
- This service call was issued in the status "PSW.IPL > kernel interrupt mask level".
|