commit | ead7c47d483d0935333ea3e0512a051afef0019e | [log] [tgz] |
---|---|---|
author | Andrew F. Davis <afd@ti.com> | Mon Dec 09 17:08:26 2019 -0500 |
committer | Jérôme Forissier <jerome@forissier.org> | Thu Dec 12 16:36:50 2019 +0100 |
tree | c7a7f4d7020888c94afb7903bee3c2ed0a5663c0 | |
parent | d034099e36b590891336f08ac78a7f03e557dd21 [diff] |
plat-ti: Restore non-secure entry address from saved copy in r5 When resuming the only value we need to work with a new version of is the non-secure context as it will have changed since boot. This value is stored on OP-TEE entry in r5, previously we saved this value by moving r5 to r3 then r3 to r4 basically just dodging getting overwritten by functions we call. This can be simplified now as nothing clobbers r5, so we can use it directly as the source for the non-secure context pointer feed into init_sec_mon(). Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome@forissier.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers