20.18 Variable-sized Memory Pool Information (variable_memorypool[])
variable_memorypool[ <1. ID number> ] { name = <2. ID name (name)>; heap_size = <3. The size of the variable-sized memory pool (heap_size)>; num_block = <4. Upper limit of the variable-sized memory block (max_memsize)>; section = <5. Section name assigned to the memory pool area (mpl_section)> }; |
- Description
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
#define <ID name> <ID number>
- When omitting
The set value in the default system configuration file (factory setting: 1024) applied.
The set value in the default system configuration file (factory setting: 1024) applied.
- When omitting
The set value in the default system configuration file (factory setting: 36) applied.
The set value in the default system configuration file (factory setting: 36) applied.
- Note
Refer to "9.3.1 Size of Variable-sized memory block" for the size of the variable-sized memory blocks.
Refer to "9.3.1 Size of Variable-sized memory block" for the size of the variable-sized memory blocks.
- Description
Define the section name to be assigned to the variable-sized memory pool area.
The cfg600px generates the variable-sized memory pool area with the size specified by heap_size to the section specified by mpl_section. The section attribute is "DATA", and the alignment number is 4.
When linking, be sure to locate this section in the RAM area. Note, this section must not be located to address 0.
Define the section name to be assigned to the variable-sized memory pool area.
The cfg600px generates the variable-sized memory pool area with the size specified by heap_size to the section specified by mpl_section. The section attribute is "DATA", and the alignment number is 4.
When linking, be sure to locate this section in the RAM area. Note, this section must not be located to address 0.