diff options
author | Aijun Sun <aijun.sun@spreadtrum.com> | 2017-09-19 16:52:08 +0800 |
---|---|---|
committer | Aijun Sun <aijun.sun@spreadtrum.com> | 2017-09-19 19:20:48 +0800 |
commit | ab609e1a76399969f8318360ea3fff30687c9638 (patch) | |
tree | 595f29d23a824aed9ab12025102030af753905ad /include | |
parent | 1cde9b94fad9b778688cfec478b6d1b9f162b146 (diff) | |
download | platform_external_arm-trusted-firmware-ab609e1a76399969f8318360ea3fff30687c9638.tar.gz platform_external_arm-trusted-firmware-ab609e1a76399969f8318360ea3fff30687c9638.tar.bz2 platform_external_arm-trusted-firmware-ab609e1a76399969f8318360ea3fff30687c9638.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions