spd: trusty: pass VMID via X7
authorAnthony Zhou <anzhou@nvidia.com>
Fri, 30 Oct 2015 22:03:41 +0000 (06:03 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 6 Mar 2017 16:43:05 +0000 (08:43 -0800)
commitdae374bfae8c5bdf01b9739085b08b30d6ce9aea
tree4eaa391cc08e3fdbb388cbf4931023321e4c7ff0
parent32bf0e2985e008ba7744b71c1f11397feae9af28
spd: trusty: pass VMID via X7

According to the ARM DEN0028A spec, hypervisor ID(VMID) should be stored
in x7 (or w7). This patch gets this value from the context and passes it
to Trusty. In order to do so, introduce new macros to pass five to eight
parameters to the Trusted OS.

Change-Id: I101cf45d0712e1e880466b2274f9a48af755c9fa
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
include/lib/aarch64/smcc_helpers.h
services/spd/trusty/trusty.c
services/spd/trusty/trusty_helpers.S