ref_mpf
iref_mpf
ER ref_mpf (ID mpfid, T_RMPF *pk_rmpf);
ER iref_mpf (ID mpfid, T_RMPF *pk_rmpf);
typedef struct t_rmpf { ID wtskid; /*Existence of waiting task*/ UINT fblkcnt; /*Number of free memory blocks*/ ATR mpfatr; /*Attribute*/ ID memid; /*Reserved for future use*/ } T_RMPF; |
Stores fixed-sized memory pool state packet (ID number of the task at the head of the wait queue, number of free memory blocks, etc.) of the fixed-sized memory pool specified by parameter mpfid in the area specified by parameter pk_rmpf.
Note For details about the fixed-sized memory pool state packet, refer to "15.2.9 Fixed-sized memory pool state packet".