diff options
author | Leo Yan <leo.yan@linaro.org> | 2022-11-16 16:34:50 +0800 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2022-11-28 14:19:05 +0100 |
commit | cffc956edf3a14508ed5740c1ed093326ca67e72 (patch) | |
tree | 4c0fad0c032d49a0c17aa4086d45b56603a88cb7 | |
parent | 27c07d0a0023e721e3b05ad025f8b82ab43ee306 (diff) | |
download | trusted-firmware-a-cffc956edf3a14508ed5740c1ed093326ca67e72.tar.gz |
feat(qemu): support pointer authentication
This patch includes source code to support pointer authentication on
QEMU platform.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Change-Id: I582923080fe1d5baffd7d0ccfe83e3b28f910ae1
-rw-r--r-- | plat/qemu/qemu/platform.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plat/qemu/qemu/platform.mk b/plat/qemu/qemu/platform.mk index 6becc32fad..699fabece1 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 |