]> git.baikalelectronics.ru Git - arm-tf.git/commit
bl32: add secure interrupt handling in AArch32 sp_min
authorEtienne Carriere <etienne.carriere@st.com>
Wed, 9 Aug 2017 13:48:53 +0000 (15:48 +0200)
committerEtienne Carriere <etienne.carriere@st.com>
Wed, 9 Aug 2017 13:48:53 +0000 (15:48 +0200)
commit71816096da8e5612cece752d813e10580df9f141
treeead9a6012f806050f68efc5e343e2924a0efb9ba
parent2f860c7815c648393f0604c872d5b39546da6419
bl32: add secure interrupt handling in AArch32 sp_min

Add support for a minimal secure interrupt service in sp_min for
the AArch32 implementation. Hard code that only FIQs are handled.

Introduce bolean build directive SP_MIN_WITH_SECURE_FIQ to enable
FIQ handling from SP_MIN.

Configure SCR[FIQ] and SCR[FW] from generic code for both cold and
warm boots to handle FIQ in secure state from monitor.

Since SP_MIN architecture, FIQ are always trapped when system executes
in non secure state. Hence discard relay of the secure/non-secure
state in the FIQ handler.

Change-Id: I1f7d1dc7b21f6f90011b7f3fcd921e455592f5e7
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
bl32/sp_min/aarch32/entrypoint.S
bl32/sp_min/sp_min.mk
bl32/sp_min/sp_min_main.c
bl32/sp_min/sp_min_private.h
docs/user-guide.rst
include/bl32/sp_min/platform_sp_min.h