summaryrefslogtreecommitdiff
path: root/bl1
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2019-02-15 16:42:20 +0100
committerYann Gautier <yann.gautier@st.com>2022-10-03 14:42:40 +0200
commit6dc5979a6cb2121e4c16e7bd62e24030e0f42755 (patch)
tree7ebdf7c842237a33b42e2451016c1804d1156d55 /bl1
parentbb2289142cbf0f3546c1034e0500b5dc32aef740 (diff)
downloadarm-trusted-firmware-6dc5979a6cb2121e4c16e7bd62e24030e0f42755.tar.gz
feat(debug): add helpers for aborts on AARCH32
New helper functions are created to handle data & prefetch aborts in AARCH32. They call platform functions, just like what report_exception is doing. As extended MSR/MRS instructions (to access lr_abt in monitor mode) are only available if CPU (Armv7) has virtualization extension, the functions branch to original report_exception handlers if this is not the case. Those new helpers are created mainly to distinguish data and prefetch aborts, as they both share the same mode. This adds 40 bytes of code. Change-Id: I5dd31930344ad4e3a658f8a9d366a87a300aeb67 Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'bl1')
-rw-r--r--bl1/aarch32/bl1_entrypoint.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/bl1/aarch32/bl1_entrypoint.S b/bl1/aarch32/bl1_entrypoint.S
index 94dfd3738..b22015eb9 100644
--- a/bl1/aarch32/bl1_entrypoint.S
+++ b/bl1/aarch32/bl1_entrypoint.S
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2021, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2022, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -23,8 +23,8 @@ vector_base bl1_vector_table
b bl1_entrypoint
b report_exception /* Undef */
b bl1_aarch32_smc_handler /* SMC call */
- b report_exception /* Prefetch abort */
- b report_exception /* Data abort */
+ b report_prefetch_abort /* Prefetch abort */
+ b report_data_abort /* Data abort */
b report_exception /* Reserved */
b report_exception /* IRQ */
b report_exception /* FIQ */