blob: 0dd96c4530e2ab16ee799f59335793afa011e8f7 [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 */
Dan Handleyea596682015-04-01 17:34:24 +01006#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
24#endif /* __PLAT_MACROS_S__ */