Commit | Line | Data |
---|---|---|
7ea12e5c NC |
1 | .macro vector_base label |
2 | .section .vectors, "ax" | |
3 | .align 11, 0 | |
4 | \label: | |
5 | .endm | |
6 | ||
7 | .macro vector_entry label | |
8 | .section .vectors, "ax" | |
9 | .align 7, 0 | |
10 | \label: | |
11 | .endm | |
12 | ||
13 | .macro check_vector_size since | |
14 | .if (. - \since) > (32 * 4) | |
15 | .error "Vector exceeds 32 instructions" | |
16 | .endif | |
17 | .endm | |
18 | ||
19 | .globl bl1_exceptions | |
20 | ||
21 | vector_base bl1_exceptions | |
22 | ||
23 | vector_entry SynchronousExceptionSP0 | |
24 | mov x0, #0x0 | |
25 | bl plat_report_exception | |
26 | b SynchronousExceptionSP0 | |
27 | check_vector_size SynchronousExceptionSP0 | |
28 |