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>
1 parent 0e1f9e3 commit 8e5906249ad2cf599150865e7a0b76f3d66a2ea8
@Varun Wadekar Varun Wadekar authored on 16 Feb 2017
Showing 1 changed file
View
services/spd/trusty/trusty.c