mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-30 15:49:34 +00:00
refactor(qemu): handle pointer authentication
Pointer authentication requires CTX_INCLUDE_PAUTH_REGS to be defined. Change-Id: I4ca95d6d9e619e7a7296a2c3ecb799683bf70575 Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
This commit is contained in:
parent
f56da5d36d
commit
51ce1f3469
2 changed files with 7 additions and 6 deletions
|
@ -102,4 +102,11 @@ CTX_INCLUDE_AARCH32_REGS := 0
|
||||||
ifeq (${CTX_INCLUDE_AARCH32_REGS}, 1)
|
ifeq (${CTX_INCLUDE_AARCH32_REGS}, 1)
|
||||||
$(error "This is an AArch64-only port; CTX_INCLUDE_AARCH32_REGS must be disabled")
|
$(error "This is an AArch64-only port; CTX_INCLUDE_AARCH32_REGS must be disabled")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Pointer Authentication sources
|
||||||
|
ifeq (${ENABLE_PAUTH}, 1)
|
||||||
|
PLAT_BL_COMMON_SOURCES += plat/arm/common/aarch64/arm_pauth.c
|
||||||
|
CTX_INCLUDE_PAUTH_REGS := 1
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -158,12 +158,6 @@ ifeq (${SDEI_SUPPORT}, 1)
|
||||||
BL31_SOURCES += plat/qemu/common/qemu_sdei.c
|
BL31_SOURCES += plat/qemu/common/qemu_sdei.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# 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)
|
ifeq (${SPD},spmd)
|
||||||
BL31_SOURCES += plat/common/plat_spmd_manifest.c \
|
BL31_SOURCES += plat/common/plat_spmd_manifest.c \
|
||||||
common/uuid.c \
|
common/uuid.c \
|
||||||
|
|
Loading…
Add table
Reference in a new issue