Nariman Poushin | c703f90 | 2018-03-07 10:29:57 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2018, 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 <cci_macros.S> |
| 10 | #include <css_macros.S> |
| 11 | |
| 12 | /* --------------------------------------------- |
| 13 | * The below required platform porting macro |
| 14 | * prints out relevant platform registers |
| 15 | * whenever an unhandled exception is taken in |
| 16 | * BL31. |
| 17 | * --------------------------------------------- |
| 18 | */ |
| 19 | .macro plat_crash_print_regs |
| 20 | css_print_gic_regs |
| 21 | print_cci_regs |
| 22 | .endm |
| 23 | |
| 24 | #endif /* __PLAT_MACROS_S__ */ |