blob: 1d243de1b40703161dc1af83ac019d6d606fdb5c [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
Sandrine Bailleux452f3602019-01-14 13:49:22 +010018 end_vector_entry \name
Sandrine Bailleux80ddcc32019-01-11 19:01:22 +010019 .endm
20
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +020021vector_base exception_stubs
Daniel Boulby08798ac2021-04-06 14:30:19 +010022vector_entry_spin sync_exception_sp_el0
23vector_entry_spin irq_sp_el0
24vector_entry_spin fiq_sp_el0
25vector_entry_spin serror_sp_el0
26vector_entry_spin sync_exception_sp_elx
27vector_entry_spin irq_sp_elx
28vector_entry_spin fiq_sp_elx
29vector_entry_spin serror_sp_elx
30vector_entry_spin sync_exception_aarch64
31vector_entry_spin irq_aarch64
32vector_entry_spin fiq_aarch64
33vector_entry_spin serror_aarch64
34vector_entry_spin sync_exception_aarch32
35vector_entry_spin irq_aarch32
36vector_entry_spin fiq_aarch32
37vector_entry_spin serror_aarch32