2 #include <asm/aa64_exception.h>
3 #include <asm/aa64_msrs.h>
5 .macro aa64_exception_entry type
7 .type _exception_entry_t\type, @function
9 # each handler has at most 128 bytes (32 insts)
10 _exception_entry_t\type:
11 stp x1, x0, [sp, #-16]
13 # re-purpose the [63, 56] of ESR to exception
25 b _aa64_evec_prehandle
34 aa64_exception_entry EXCEPTION_SYNC
35 aa64_exception_entry EXCEPTION_IRQ
36 aa64_exception_entry EXCEPTION_FIQ
37 aa64_exception_entry EXCEPTION_SERR