aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAijun Sun <aijun.sun@spreadtrum.com>2017-09-19 16:52:08 +0800
committerAijun Sun <aijun.sun@spreadtrum.com>2017-09-19 19:20:48 +0800
commitab609e1a76399969f8318360ea3fff30687c9638 (patch)
tree595f29d23a824aed9ab12025102030af753905ad /include
parent1cde9b94fad9b778688cfec478b6d1b9f162b146 (diff)
downloadplatform_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