aboutsummaryrefslogtreecommitdiff
path: root/lib/aarch64/exception_stubs.S
blob: d418451aea84b8c835b6213f67b965111d683a73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * Copyright (c) 2018, Arm Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#include <asm_macros.S>

	.global exception_stubs

/*
 * Simplistic exceptions vector table.
 * All entries spin, which means all types of exceptions are unrecoverable.
 */
	.macro vector_entry_spin name
	vector_entry \name
	b \name
	end_vector_entry \name
	.endm

vector_base exception_stubs
vector_entry_spin SynchronousExceptionSP0
vector_entry_spin IrqSP0
vector_entry_spin FiqSP0
vector_entry_spin SErrorSP0
vector_entry_spin SynchronousExceptionSPx
vector_entry_spin IrqSPx
vector_entry_spin FiqSPx
vector_entry_spin SErrorSPx
vector_entry_spin SynchronousExceptionA64
vector_entry_spin IrqA64
vector_entry_spin FiqA64
vector_entry_spin SErrorA64
vector_entry_spin SynchronousExceptionA32
vector_entry_spin IrqA32
vector_entry_spin FiqA32
vector_entry_spin SErrorA32