19.14 Fixed-sized Memory Pool Information (memorypool[])
memorypool[ <1. ID number> ] { name = <2. ID name (name)>; siz_block = <3. The size of the fixed-sized memory block (siz_block)>; num_block = <4. The number of the fixed-sized memory block (num_block)>; section = <5. Section name assigned to the memory pool area (section)> wait_queue = <6. Wait queue attribute (wait_queue)>; }; |
- Note
The ID numbers must be assigned without an omission beginning with 1. Therefore, when specifying an ID number, be sure that the specified value is equal to or less than the number of objects defined.
The ID numbers must be assigned without an omission beginning with 1. Therefore, when specifying an ID number, be sure that the specified value is equal to or less than the number of objects defined.
- 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: 256) applied.
The set value in the default system configuration file (factory setting: 256) applied.
- Description
Define the section name to be assigned to the fixed-sized memory pool area.
The cfg600 generates the fixed-sized memory pool area with the size calculated by "siz_block * num_block" to the section specified by 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 fixed-sized memory pool area.
The cfg600 generates the fixed-sized memory pool area with the size calculated by "siz_block * num_block" to the section specified by 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.