blob: ba3192770b261d3247dd47450b43610be57a06d0 [file] [log] [blame]
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02001/*
2 * Copyright (c) 2018, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <asm_macros.S>
8
Sandrine Bailleux80ddcc32019-01-11 19:01:22 +01009 .global exception_stubs
10
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +020011/*
12 * Simplistic exceptions vector table.
13 * All entries spin, which means all types of exceptions are unrecoverable.
14 */
Sandrine Bailleux80ddcc32019-01-11 19:01:22 +010015 .macro vector_entry_spin name
16 vector_entry \name
17 b \name
18 .endm
19
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +020020vector_base exception_stubs
Sandrine Bailleux80ddcc32019-01-11 19:01:22 +010021vector_entry_spin SynchronousExceptionSP0
22vector_entry_spin IrqSP0
23vector_entry_spin FiqSP0
24vector_entry_spin SErrorSP0
25vector_entry_spin SynchronousExceptionSPx
26vector_entry_spin IrqSPx
27vector_entry_spin FiqSPx
28vector_entry_spin SErrorSPx
29vector_entry_spin SynchronousExceptionA64
30vector_entry_spin IrqA64
31vector_entry_spin FiqA64
32vector_entry_spin SErrorA64
33vector_entry_spin SynchronousExceptionA32
34vector_entry_spin IrqA32
35vector_entry_spin FiqA32
36vector_entry_spin SErrorA32