Abdellatif El Khlifi | ad9b8e5 | 2021-04-21 17:20:43 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2021, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | #ifndef PLAT_MACROS_S |
| 7 | #define PLAT_MACROS_S |
| 8 | |
| 9 | #include <css_macros.S> |
| 10 | |
| 11 | /* --------------------------------------------- |
| 12 | * The below required platform porting macro |
| 13 | * prints out relevant platform registers |
| 14 | * whenever an unhandled exception is taken in |
| 15 | * BL31. |
| 16 | * --------------------------------------------- |
| 17 | */ |
| 18 | .macro plat_crash_print_regs |
| 19 | css_print_gic_regs |
| 20 | .endm |
| 21 | |
| 22 | #endif /* PLAT_MACROS_S */ |