blob: ec94a4f4a42d6ecb1c26fe02e0295e9f4017f1c3 [file] [log] [blame]
Sandrine Bailleux798140d2014-07-17 16:06:39 +01001/*
Vikram Kanigirifbb13012016-02-15 11:54:14 +00002 * Copyright (c) 2014-2016, ARM Limited and Contributors. All rights reserved.
Sandrine Bailleux798140d2014-07-17 16:06:39 +01003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Sandrine Bailleux798140d2014-07-17 16:06:39 +01005 */
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00006#ifndef PLAT_MACROS_S
7#define PLAT_MACROS_S
Sandrine Bailleux798140d2014-07-17 16:06:39 +01008
Vikram Kanigirifbb13012016-02-15 11:54:14 +00009#include <cci_macros.S>
Dan Handley7bef8002015-03-19 19:22:44 +000010#include <css_macros.S>
Sandrine Bailleux798140d2014-07-17 16:06:39 +010011
Gerald Lejeune2c7ed5b2015-11-26 15:47:53 +010012 /* ---------------------------------------------
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
Dan Handleyea596682015-04-01 17:34:24 +010023
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000024#endif /* PLAT_MACROS_S */