-
pget_mpf
ipget_mpf
-
Acquire fixed-sized memory block (polling).
ER pget_mpf (ID mpfid, VP *p_blk);
ER ipget_mpf (ID mpfid, VP *p_blk);
|
|
|
|
ID mpfid;
|
ID number of the fixed-sized memory pool.
|
|
VP *p_blk;
|
Start address of the acquired memory block.
|
This service call acquires the fixed-sized memory block from the fixed-sized memory pool specified by parameter
mpfid and stores the start address in the area specified by parameter
p_blk.
If a fixed-sized memory block could not be acquired from the target fixed-sized memory pool (no available fixed-sized memory blocks exist) when this service call is issued, fixed-sized memory block acquisition processing is not performed but "E_TMOUT" is returned.
Note 1 The contents of the block are undefined.
Note 2 The boundary alignment for the memory blocks acquired is 1. If memory blocks need to be acquired with a larger boundary alignment than that, observe the following:
|
|
|
|
|
|
|
|
|
|
|
- This service call was issued in the CPU locked state.
- This service call was issued in the status "PSW.IPL > kernel interrupt mask level".
Note When the ipget_mpf is issued from task or the pget_mpf is issued from non-task, the context error is not detected and normal operation of the system is not guaranteed.
|
|
|
|