diff options
Diffstat (limited to 'bl31/aarch64/crash_reporting.S')
-rw-r--r-- | bl31/aarch64/crash_reporting.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bl31/aarch64/crash_reporting.S b/bl31/aarch64/crash_reporting.S index 68fe256..7edbbf2 100644 --- a/bl31/aarch64/crash_reporting.S +++ b/bl31/aarch64/crash_reporting.S @@ -85,6 +85,7 @@ intr_excpt_msg: func print_newline mov x0, '\n' b plat_crash_console_putc +endfunc print_newline /* * Helper function to print from crash buf. @@ -122,6 +123,7 @@ test_size_list: exit_size_print: mov x30, sp ret +endfunc size_controlled_print /* * Helper function to store x8 - x15 registers to @@ -140,6 +142,7 @@ func str_in_crash_buf_print stp x12, x13, [x0, #REG_SIZE * 4] stp x14, x15, [x0, #REG_SIZE * 6] b size_controlled_print +endfunc str_in_crash_buf_print /* ------------------------------------------------------ * This macro calculates the offset to crash buf from @@ -176,6 +179,7 @@ func report_unhandled_exception mov sp, x0 /* This call will not return */ b do_crash_reporting +endfunc report_unhandled_exception /* ----------------------------------------------------- @@ -192,6 +196,7 @@ func report_unhandled_interrupt mov sp, x0 /* This call will not return */ b do_crash_reporting +endfunc report_unhandled_interrupt /* ----------------------------------------------------- * This function allows to report a crash (if crash @@ -208,6 +213,7 @@ func el3_panic mov sp, x0 /* This call will not return */ b do_crash_reporting +endfunc el3_panic /* ------------------------------------------------------------ * The common crash reporting functionality. It requires x0 @@ -346,13 +352,16 @@ func do_crash_reporting /* Done reporting */ b crash_panic +endfunc do_crash_reporting #else /* CRASH_REPORTING */ func report_unhandled_exception report_unhandled_interrupt: b crash_panic +endfunc report_unhandled_exception #endif /* CRASH_REPORING */ func crash_panic b crash_panic +endfunc crash_panic
\ No newline at end of file |