summaryrefslogtreecommitdiff
path: root/plat/arm/fvp
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2019-03-13 13:57:39 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2019-03-13 13:57:39 +0000
commit9c9f92c4c4cd07ea75ea72a42f15b32ed4c01bf0 (patch)
tree50e83b79b1c811db525e3c2e64b99951a59fed4e /plat/arm/fvp
parent4ac64eb32c8fcb3a00aecda6c943768505e3282a (diff)
Add ARMv8.3 pointer authentication support
ARMv8.3-PAuth adds functionality that supports address authentication of the contents of a register before that register is used as the target of an indirect branch, or as a load. This feature is supported only in AArch64 state. This feature is mandatory in ARMv8.3 implementations. This patch adds the functionality needed for platforms to provide authentication keys for the TF-A Test Framework, and a new option (ENABLE_PAUTH) to enable pointer authentication in the framework itself. This option is disabled by default. Pointer authentication support has been added to FVP. Change-Id: Id2d5c978deb68ae60107879f1c3d0b231cba9f42 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'plat/arm/fvp')
-rw-r--r--plat/arm/fvp/platform.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/plat/arm/fvp/platform.mk b/plat/arm/fvp/platform.mk
index 0230124..9fb84c2 100644
--- a/plat/arm/fvp/platform.mk
+++ b/plat/arm/fvp/platform.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2018, Arm Limited. All rights reserved.
+# Copyright (c) 2018-2019, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -23,4 +23,8 @@ CACTUS_SOURCES += plat/arm/fvp/${ARCH}/plat_helpers.S
# Firmware update is implemented on FVP.
FIRMWARE_UPDATE := 1
+ifeq (${ARCH},aarch64)
+PLAT_SOURCES += plat/common/aarch64/pauth.c
+endif
+
include plat/arm/common/arm_common.mk