]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(qemu): support pointer authentication
authorLeo Yan <leo.yan@linaro.org>
Wed, 16 Nov 2022 08:34:50 +0000 (16:34 +0800)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 28 Nov 2022 13:19:05 +0000 (14:19 +0100)
This patch includes source code to support pointer authentication on
QEMU platform.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Change-Id: I582923080fe1d5baffd7d0ccfe83e3b28f910ae1

plat/qemu/qemu/platform.mk

index 6becc32fad5c1c80d36fc89bfd6784f3f78c6bb5..699fabece177bc45afc18bfcf2e0791a6c08dbe3 100644 (file)
@@ -211,6 +211,12 @@ BL31_SOURCES               +=      lib/cpus/aarch64/aem_generic.S          \
                                ${PLAT_QEMU_COMMON_PATH}/qemu_bl31_setup.c              \
                                ${QEMU_GIC_SOURCES}
 
+# Pointer Authentication sources
+ifeq (${ENABLE_PAUTH}, 1)
+PLAT_BL_COMMON_SOURCES +=      plat/arm/common/aarch64/arm_pauth.c     \
+                               lib/extensions/pauth/pauth_helpers.S
+endif
+
 ifeq (${SPD},spmd)
 BL31_SOURCES           +=      plat/qemu/common/qemu_spmd_manifest.c
 endif