SPM: Allow entering the SP without needing a SMC
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 20 Jun 2018 11:05:02 +0000 (12:05 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 20 Jun 2018 12:13:13 +0000 (13:13 +0100)
commit4d4ceb598c168c86d74ec535868e7bfc3d18cee4
tree4083fe303d72a5868f02affa08246ee82d84b39e
parentd135ad788416493e2b981355a685afeca99bb18f
SPM: Allow entering the SP without needing a SMC

It may be needed to enter the Secure Partition through other means than
an MM_COMMUNICATE SMC. This patch enables this behaviour by extracting
the necessary code from mm_communicate() and allowing other parts of the
code to use it.

Change-Id: I59f6638d22d9c9d0baff0984f39d056298a8dc8e
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
include/services/spm_svc.h
services/std_svc/spm/spm_main.c