xref: /haiku/src/system/boot/platform/efi/arch/arm64/exceptions.S (revision 46b7da1f4f40f7157d74fc7fb26ff9ec7f2416f2)
1*f9412d9fSurnenfeld
2*f9412d9fSurnenfeld#include <asm_defs.h>
3*f9412d9fSurnenfeld
4*f9412d9fSurnenfeld	.text
5*f9412d9fSurnenfeld
6*f9412d9fSurnenfeldFUNCTION(_arch_exception_loop):
7*f9412d9fSurnenfeldarch_loop:
8*f9412d9fSurnenfeld    b arch_loop
9*f9412d9fSurnenfeldFUNCTION_END(_arch_exception_loop)
10*f9412d9fSurnenfeld
11*f9412d9fSurnenfeld/* The intention in this function in contrast with the previous is that by
12*f9412d9fSurnenfeld * prototype, the compiler sets x0 and x1 to its parameters
13*f9412d9fSurnenfeld * so when attaching we can track where it came from */
14*f9412d9fSurnenfeldFUNCTION(_arch_exception_panic):
15*f9412d9fSurnenfeldarch_panic_loop:
16*f9412d9fSurnenfeld    b arch_panic_loop
17*f9412d9fSurnenfeldFUNCTION_END(_arch_exception_panic)
18