xref: /aosp_15_r20/external/arm-trusted-firmware/plat/arm/board/diphda/include/plat_macros.S (revision 54fd6939e177f8ff529b10183254802c76df6d08)
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 */
23