Memory layout: Difference between revisions
5.0.0 tz memory layout |
|||
| Line 770: | Line 770: | ||
== [[5.0.0]] == | == [[5.0.0]] == | ||
5.0.0 modified the address map to have | 5.0.0 modified the address map to have separate .text, .rodata, and .rwdata segments, instead of a single RWX segment. | ||
However, the .rodata and .rwdata segments are both (mistakenly?) mapped R-W. | |||
Because the same L3 page is shared for all mappings, this required modifying segment layout significantly to prevent clashes. | Because the same L3 page is shared for all mappings, this required modifying segment layout significantly to prevent clashes. | ||
| Line 936: | Line 938: | ||
| 0x1000 | | 0x1000 | ||
| 0x40000000000300 | | 0x40000000000300 | ||
| TZRAM ( | | TZRAM (RW- .rodata) | ||
|- | |- | ||
| 0x1F014A000 | | 0x1F014A000 | ||