diff options
author | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | 2020-01-16 22:21:33 -0600 |
---|---|---|
committer | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | 2020-01-21 19:24:18 -0600 |
commit | 76d84cbc60ab3ee7bf40d53487f85ed7417bdcc3 (patch) | |
tree | ef71a259ea0ba519ef54dc5944c69e85d67bed64 /lib/semihosting | |
parent | d81e38f66e232ddd2590f50cafe88eef52d4a752 (diff) | |
download | platform_external_arm-trusted-firmware-76d84cbc60ab3ee7bf40d53487f85ed7417bdcc3.tar.gz platform_external_arm-trusted-firmware-76d84cbc60ab3ee7bf40d53487f85ed7417bdcc3.tar.bz2 platform_external_arm-trusted-firmware-76d84cbc60ab3ee7bf40d53487f85ed7417bdcc3.zip |
Changes necessary to support SEPARATE_NOBITS_REGION feature
Since BL31 PROGBITS and BL31 NOBITS sections are going to be
in non-adjacent memory regions, potentially far from each other,
some fixes are needed to support it completely.
1. adr instruction only allows computing the effective address
of a location only within 1MB range of the PC. However, adrp
instruction together with an add permits position independent
address of any location with 4GB range of PC.
2. Since BL31 _RW_END_ marks the end of BL31 image, care must be
taken that it is aligned to page size since we map this memory
region in BL31 using xlat_v2 lib utils which mandate alignment of
image size to page granularity.
Change-Id: Ic745c5a130fe4239fa2742142d083b2bdc4e8b85
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Diffstat (limited to 'lib/semihosting')
0 files changed, 0 insertions, 0 deletions