Skip to content

Commit 400f1e5

Browse files
ostannardkeith-packard
authored andcommitted
Align AArch64 vector table to 2048 bytes
The bottom 11 bits of VBAR_ELx are reserved, so the vector table must be 2048 bytes aligned, not just 1024 byte.
1 parent 27746bb commit 400f1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newlib/libc/picolib/machine/aarch64/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ vector(fiq);
6666
void
6767
__weak_vector_table(void);
6868

69-
void __section(".text.init.enter") __attribute__((aligned(1024)))
69+
void __section(".text.init.enter") __attribute__((aligned(2048)))
7070
__weak_vector_table(void)
7171
{
7272
/*

0 commit comments

Comments
 (0)