Antonio Nino Diaz | ae6779e | 2017-11-06 14:49:04 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016-2017, 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 <arm_macros.S> |
| 10 | #include <platform_def.h> |
| 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 | * Clobbers: x0 - x10, x16, x17, sp |
| 18 | * --------------------------------------------- |
| 19 | */ |
| 20 | .macro plat_crash_print_regs |
| 21 | .endm |
| 22 | |
| 23 | #endif /* __PLAT_MACROS_S__ */ |