From: Leo Yan Date: Wed, 16 Nov 2022 08:34:50 +0000 (+0800) Subject: feat(qemu): support pointer authentication X-Git-Tag: baikal/aarch64/sdk5.10~1^2~325^2 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=cffc956edf3a14508ed5740c1ed093326ca67e72;p=arm-tf.git feat(qemu): support pointer authentication This patch includes source code to support pointer authentication on QEMU platform. Signed-off-by: Leo Yan Change-Id: I582923080fe1d5baffd7d0ccfe83e3b28f910ae1 --- diff --git a/plat/qemu/qemu/platform.mk b/plat/qemu/qemu/platform.mk index 6becc32fa..699fabece 100644 --- a/plat/qemu/qemu/platform.mk +++ b/plat/qemu/qemu/platform.mk @@ -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