diff options
Diffstat (limited to 'lib/aarch64/exception_stubs.S')
-rw-r--r-- | lib/aarch64/exception_stubs.S | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/lib/aarch64/exception_stubs.S b/lib/aarch64/exception_stubs.S new file mode 100644 index 000000000..0508fe573 --- /dev/null +++ b/lib/aarch64/exception_stubs.S @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2018, Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include <asm_macros.S> + +/* + * Simplistic exceptions vector table. + * All entries spin, which means all types of exceptions are unrecoverable. + */ + .global exception_stubs +vector_base exception_stubs +vector_entry SynchronousExceptionSP0 + b . +vector_entry IrqSP0 + b . +vector_entry FiqSP0 + b . +vector_entry SErrorSP0 + b . +vector_entry SynchronousExceptionSPx + b . +vector_entry IrqSPx + b . +vector_entry FiqSPx + b . +vector_entry SErrorSPx + b . +vector_entry SynchronousExceptionA64 + b . +vector_entry IrqA64 + b . +vector_entry FiqA64 + b . +vector_entry SErrorA64 + b . +vector_entry SynchronousExceptionA32 + b . +vector_entry IrqA32 + b . +vector_entry FiqA32 + b . +vector_entry SErrorA32 + b . |