Andre Przywara | 6d471e1 | 2019-07-09 11:25:57 +0100 | [diff] [blame] | 1 | /* |
Mario Bălănică | 3a946f3 | 2023-12-01 04:30:13 +0200 | [diff] [blame] | 2 | * Copyright (c) 2016-2024, Arm Limited and Contributors. All rights reserved. |
Andre Przywara | 6d471e1 | 2019-07-09 11:25:57 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | #ifndef PLAT_MACROS_S |
| 7 | #define PLAT_MACROS_S |
| 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 | |
| 20 | #endif /* PLAT_MACROS_S */ |