Add support for the SMC Calling Convention 2.0
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Mon, 23 Apr 2018 14:43:29 +0000 (15:43 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Mon, 23 Apr 2018 14:43:29 +0000 (15:43 +0100)
commit2f370465241c85b2fe38a1eb69b457b9fed97207
tree64b0944fb740af46e58216feda67cf3fbc7cd1ae
parent7f6d8f49aa916a526c2ce227606cc51eebd0c950
Add support for the SMC Calling Convention 2.0

Due to differences in the bitfields of the SMC IDs, it is not possible
to support SMCCC 1.X and 2.0 at the same time.

The behaviour of `SMCCC_MAJOR_VERSION` has changed. Now, it is a build
option that specifies the major version of the SMCCC that the Trusted
Firmware supports. The only two allowed values are 1 and 2, and it
defaults to 1. The value of `SMCCC_MINOR_VERSION` is derived from it.

Note: Support for SMCCC v2.0 is an experimental feature to enable
prototyping of secure partition specifications. Support for this
convention is disabled by default and could be removed without notice.

Change-Id: I88abf9ccf08e9c66a13ce55c890edea54d9f16a7
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Makefile
bl31/aarch64/runtime_exceptions.S
common/runtime_svc.c
docs/user-guide.rst
include/common/runtime_svc.h
include/lib/smccc.h
include/lib/smccc_v1.h [new file with mode: 0644]
include/lib/smccc_v2.h [new file with mode: 0644]
make_helpers/defaults.mk