-
ref_mpl
iref_mpl
-
Reference variable-sized memory pool state.
ER ref_mpl (ID mplid, T_RMPL *pk_rmpl);
ER iref_mpl (ID mplid, T_RMPL *pk_rmpl);
|
|
|
|
ID mplid;
|
ID number of the variable-sized memory pool to be referenced.
|
|
T_RMPL *pk_rmpl;
|
Pointer to the packet returning the variable-sized memory pool state.
|
[Variable-sized memory pool state packet: T_RMPL]
typedef struct t_rmpl {
ID wtskid; /*Existence of waiting task*/
SIZE fmplsz; /*Total size of free memory blocks*/
UINT fblksz; /*Maximum memory block size available*/
ATR mplatr; /*Attribute*/
ID memid; /*Reserved for future use*/
} T_RMPL;
|
These service calls store the detailed information (ID number of the task at the head of the wait queue, total size of free memory blocks, etc.) of the variable-size memory pool specified by parameter
mplid into the area specified by parameter
pk_rmpl.
|
|
|
|
|
|
|
|
- mplid > Maximum ID number
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified variable-sized memory pool is not registered.
|