2 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
6 #include <asm_macros.S>
10 .globl plat_report_exception
13 /* -------------------------------------------------------
14 * void plat_report_exception(unsigned int type)
15 * Function to report an unhandled exception
16 * with platform-specific means.
17 * On FVP platform, it updates the LEDs
18 * to indicate where we are.
21 * SYS_LED[7:3] - Exception Mode.
23 * -------------------------------------------------------
25 func plat_report_exception
26 lsl r0, r0, #V2M_SYS_LED_EC_SHIFT
27 ldr r1, =V2M_SYSREGS_BASE
28 add r1, r1, #V2M_SYS_LED
31 endfunc plat_report_exception