Antonio Nino Diaz | ae6779e | 2017-11-06 14:49:04 +0000 | [diff] [blame] | 1 | /* |
Antonio Nino Diaz | a2b69b8 | 2018-08-15 14:43:29 +0100 | [diff] [blame] | 2 | * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. |
Antonio Nino Diaz | ae6779e | 2017-11-06 14:49:04 +0000 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
Antonio Nino Diaz | a2b69b8 | 2018-08-15 14:43:29 +0100 | [diff] [blame] | 6 | #ifndef PLAT_MACROS_S |
| 7 | #define PLAT_MACROS_S |
Antonio Nino Diaz | ae6779e | 2017-11-06 14:49:04 +0000 | [diff] [blame] | 8 | |
| 9 | /* --------------------------------------------- |
| 10 | * The below required platform porting macro |
| 11 | * prints out relevant platform registers |
| 12 | * whenever an unhandled exception is taken in |
| 13 | * BL31. |
| 14 | * Clobbers: x0 - x10, x16, x17, sp |
| 15 | * --------------------------------------------- |
| 16 | */ |
| 17 | .macro plat_crash_print_regs |
| 18 | .endm |
| 19 | |
Antonio Nino Diaz | a2b69b8 | 2018-08-15 14:43:29 +0100 | [diff] [blame] | 20 | #endif /* PLAT_MACROS_S */ |