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 /lib/psci/psci_private.h | |
parent | 1cde9b94fad9b778688cfec478b6d1b9f162b146 (diff) |
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 'lib/psci/psci_private.h')
0 files changed, 0 insertions, 0 deletions