From 24c907d29266d2b4c3e8a3cf62d113ef2c642c0b Mon Sep 17 00:00:00 2001 From: Carlo Caione Date: Mon, 7 Sep 2020 15:33:37 +0200 Subject: [PATCH] arch: arm64: Add missing vector table entries The current vector table is missing some (not used) entries. Fill these in for the sake of completeness. Signed-off-by: Carlo Caione --- arch/arm/core/aarch64/vector_table.S | 36 ++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/arch/arm/core/aarch64/vector_table.S b/arch/arm/core/aarch64/vector_table.S index 5757febc099..b456c65611f 100644 --- a/arch/arm/core/aarch64/vector_table.S +++ b/arch/arm/core/aarch64/vector_table.S @@ -43,12 +43,12 @@ _ASM_FILE_PROLOGUE * | + 0x300 | FIQ / vFIQ | | * | + 0x380 | SError / vSError | | * +------------------+------------------+-------------------------+ - * | + 0x400 | Synchronous | Lower EL using AArch64 | + * | + 0x400 | Synchronous | Lower EL using AArch64 | * | + 0x480 | IRQ / vIRQ | | * | + 0x500 | FIQ / vFIQ | | * | + 0x580 | SError / vSError | | * +------------------+------------------+-------------------------+ - * | + 0x600 | Synchronous | Lower EL using AArch64 | + * | + 0x600 | Synchronous | Lower EL using AArch32 | * | + 0x680 | IRQ / vIRQ | | * | + 0x700 | FIQ / vFIQ | | * | + 0x780 | SError / vSError | | @@ -102,3 +102,35 @@ SECTION_SUBSEC_FUNC(exc_vector_table,_vector_table_section,_vector_table) b z_arm64_fatal_error + /* Lower EL using AArch64 / Synchronous */ + .align 7 + b . + + /* Lower EL using AArch64 / IRQ */ + .align 7 + b . + + /* Lower EL using AArch64 / FIQ */ + .align 7 + b . + + /* Lower EL using AArch64 / SError */ + .align 7 + b . + + /* Lower EL using AArch32 / Synchronous */ + .align 7 + b . + + /* Lower EL using AArch32 / IRQ */ + .align 7 + b . + + /* Lower EL using AArch32 / FIQ */ + .align 7 + b . + + /* Lower EL using AArch32 / SError */ + .align 7 + b . +