diff options
author | Govindraj Raja <govindraj.raja@arm.com> | 2023-02-21 17:43:55 +0000 |
---|---|---|
committer | Govindraj Raja <govindraj.raja@arm.com> | 2023-02-22 17:24:17 +0000 |
commit | 17d07a552b396a282eed52bfd6bac01052a1a978 (patch) | |
tree | 4e25d36c832685281f74ac951c305a34a73e9f1c /include | |
parent | bd62ce98d2c9ef164456c6477b2e21172165dc11 (diff) | |
download | arm-trusted-firmware-17d07a552b396a282eed52bfd6bac01052a1a978.tar.gz |
refactor(bl31): use elx_panic for sysreg_handler64
When we reach sysreg_handler64 from any trap handling we are entering
this path from lower EL and thus we should be calling lower_el_panic
reporting mechanism to print panic report.
Make report_elx_panic available through assembly func elx_panic which
could be used for reporting any lower_el_panic.
Change-Id: Ieb260cf20ea327a59db84198b2c6a6bfc9ca9537
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/common/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common/debug.h b/include/common/debug.h index e0b3a1c67..5ea541da0 100644 --- a/include/common/debug.h +++ b/include/common/debug.h @@ -100,7 +100,7 @@ void backtrace(const char *cookie); #endif void __dead2 el3_panic(void); -void __dead2 report_elx_panic(void); +void __dead2 elx_panic(void); #define panic() \ do { \ @@ -118,7 +118,7 @@ void __dead2 report_elx_panic(void); #define lower_el_panic() \ do { \ console_flush(); \ - report_elx_panic(); \ + elx_panic(); \ } while (false) #else #define lower_el_panic() |