Searched hist:"09 b678f1df021f9312a7b926c692c87cfdfc50ce" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/arch/arm/kernel/ |
| H A D | secure_partition.c | 09b678f1df021f9312a7b926c692c87cfdfc50ce Tue Oct 25 13:44:08 UTC 2022 Imre Kis <imre.kis@arm.com> core: spmc: Add support for load address relative memory regions
Add support for memory regions where the required VA is set as an offset from the SP's load address. The mapping of memory regions is done in two phases. First the load address relative memory regions are being mapped to the given VA and then ones where the VA is selected by the system. This way conflicts between the memory regions in the VA space can be prevented. The NOBITS load-flags value is similar to the NOBITS ELF sections. If this bit is set then the SPMC allocates new area otherwise it will set the access rights of already mapped areas.
Signed-off-by: Imre Kis <imre.kis@arm.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|