10.2.3.4 Allocation of Persist-attributed Sections
The persist
section attribute specifies that a section
should be allocated as persistent storage in data memory, as defined by region
kseg0_data_mem
and kseg1_data_mem
in the linker
script. Persistent storage is not cleared or initialized by the C run-time library. The
following attributes may be used in conjunction with persist
and will
further specify the allocation:
address()
specifies an absolute addressnear
specifies the first 64 KB of data memoryalign()
specifies alignment of the section starting addressreverse()
specifies alignment of the section ending address + 1