Everything

17.4.4 Memory area information

The memory area information defines Memory area name:sec_nam, Memory area size:memsz for a memory area.
The number of the definition as the memory area information is one, it's one per a section.
The following shows the memory area information format.
 MEM_AREA (sec_nam, memsz);

The items constituting the memory area information are as follows.
1 ) Memory area name:sec_nam
Specifies the name of the memory area used for management objects.
Only the section-name (defined in link directive file) .sec_nam from which a dot is excluded can be specified for sec_nam.
2 ) Memory area size:memsz
Specifies the size of the memory area used for management objects (unit: bytes).
Only 4-byte boundary values from 0x0 to 0x7ffffffc, or "SIZE_AUTO" can be specified for memsz.
SIZE_AUTO: Total size of management objects defined in Basic information, Task information, etc.
Note For expressions to calculate the memory area size, refer to "APPENDIX BSIZE OF MEMORY".
Note When information regarding ".kernel_work" section has not been defined, the CF850V4 assumes that the following information is specified.
 MEM_AREA ( kernel_work, SIZE_AUTO );