arm-trusted-firmware/services/spd/trusty
Aijun Sun ab609e1a76 trusty: save/restore FPU registers in world switch
Currently, Trusty OS/LK implemented FPU context switch in internal
thread switch but does not implement the proper mechanism for world
switch. This commit just simply saves/restores FPU registes in world
switch to prevent FPU context from being currupted when Trusty OS uses
VFP in its applications.

It should be noted that the macro *CTX_INCLUDE_FPREGS* must be defined
in trusty.mk if Trusty OS uses VFP

Signed-off-by: Aijun Sun <aijun.sun@spreadtrum.com>
2017-09-19 19:20:48 +08:00
..
sm_err.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
smcall.h Migrate secure payload dispatchers to new SMC terminology 2017-05-04 21:23:06 +01:00
trusty.c trusty: save/restore FPU registers in world switch 2017-09-19 19:20:48 +08:00
trusty.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
trusty_helpers.S Use SPDX license identifiers 2017-05-03 09:39:28 +01:00