17.5.7 Fixed-sized memory pool information
The fixed-sized memory pool information defines ID number: mpfid, Attribute: mpfatr, Block count: blkcnt, Basic block size: blksz, memory area name: sec_nam, Reserved for future use: mpf for a fixed-sized memory pool.
The number of items that can be defined as fixed-sized memory pool information is limited to one for each ID number.
Specifies the ID number for a fixed-sized memory pool.
A value from 0x1 to 0xff, or a name, can be specified for mpfid.
A value from 0x1 to 0xff, or a name, can be specified for mpfid.
Note When a name is specified, the CF850V4 automatically assigns an ID number.
The CF850V4 outputs the relationship between a name and an ID number to the system information header file in the following format:
The CF850V4 outputs the relationship between a name and an ID number to the system information header file in the following format:
#define mpfid value
Specifies the task queuing method for a fixed-sized memory pool.
The keyword that can be specified for mpfatr is TA_TFIFO or TA_TPRI.
The keyword that can be specified for mpfatr is TA_TFIFO or TA_TPRI.
Specifies the block count for a fixed-sized memory pool.
A value from 0x1 to 0x7fff can be specified for blkcnt.
A value from 0x1 to 0x7fff can be specified for blkcnt.
Specifies the size per block (unit: bytes) and the name of the memory area secured for the fixed-size memory pool.
Only 4-byte boundary values from 0x1 to 0x7ffffffc can be specified for blksz, and only memory area name sec_area defined in Memory area information" can be specified for sec_nam.
Only 4-byte boundary values from 0x1 to 0x7ffffffc can be specified for blksz, and only memory area name sec_area defined in Memory area information" can be specified for sec_nam.