Image regions are placed in the system memory map at load time. Before you can execute the image, you might have to move some of its regions to their execution addresses and create the ZI output sections. For example, initialized RW data might have to be copied from its load address in ROM to its execution address in RAM.
The memory map of an image has the following distinct views:
- Load view
Describes each image region and section in terms of the address where it is located when the image is loaded into memory, that is, the location before image execution starts.
- Execution view
Describes each image region and section in terms of the address where it is located during image execution.
The following figure shows these views:
The following table compares the load and execution views:
|Load address||The address where a section or region is loaded into memory before the image containing it starts executing. The load address of a section or a non-root region can differ from its execution address||Execution address||The address where a section or region is located while the image containing it is being executed|
|Load region||A region in the load address space||Execution region||A region in the execution address space|