]> git.baikalelectronics.ru Git - arm-tf.git/commit
spd: trusty: save context starting from the stack end
authorVarun Wadekar <vwadekar@nvidia.com>
Fri, 17 Feb 2017 02:14:37 +0000 (18:14 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 6 Mar 2017 16:47:56 +0000 (08:47 -0800)
commit8e5906249ad2cf599150865e7a0b76f3d66a2ea8
tree07efeae61df0e4d128527edbff1c4683f9ffde0f
parent0e1f9e3155c164f12910fe0f32f6cbf2d37177c8
spd: trusty: save context starting from the stack end

This patch uses the stack end to start saving the CPU context
during world switch. The previous logic, used the stack start
to save the context, thus overwriting the other members of the
context.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
services/spd/trusty/trusty.c