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>
1 parent 7f6d8f4 commit 2f370465241c85b2fe38a1eb69b457b9fed97207
@Antonio Nino Diaz Antonio Nino Diaz authored on 23 Apr 2018
Showing 9 changed files
View
Makefile
View
bl31/aarch64/runtime_exceptions.S
View
common/runtime_svc.c
View
docs/user-guide.rst
View
include/common/runtime_svc.h
View
include/lib/smccc.h
View
include/lib/smccc_v1.h 0 → 100644
View
include/lib/smccc_v2.h 0 → 100644
View
make_helpers/defaults.mk