Home
last modified time | relevance | path

Searched hist:ab609e1a76399969f8318360ea3fff30687c9638 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/services/spd/trusty/
H A Dtrusty.cab609e1a76399969f8318360ea3fff30687c9638 Tue Sep 19 08:52:08 UTC 2017 Aijun Sun <aijun.sun@spreadtrum.com> 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>