xref: /DragonStub/inc/arm/efisetjmp_arch.h (revision 5b74db0e154ffd2fba4bcc254069844f21913988)
1dae0b4b0SNigel Croxon #ifndef GNU_EFI_ARM_SETJMP_H
2dae0b4b0SNigel Croxon #define GNU_EFI_ARM_SETJMP_H
3dae0b4b0SNigel Croxon 
49ce3546dSNigel Croxon #define JMPBUF_ALIGN 4
59ce3546dSNigel Croxon 
6dae0b4b0SNigel Croxon typedef struct {
7dae0b4b0SNigel Croxon 	UINT32 R3; // A copy of R13
8dae0b4b0SNigel Croxon 	UINT32 R4;
9dae0b4b0SNigel Croxon 	UINT32 R5;
10dae0b4b0SNigel Croxon 	UINT32 R6;
11dae0b4b0SNigel Croxon 	UINT32 R7;
12dae0b4b0SNigel Croxon 	UINT32 R8;
13dae0b4b0SNigel Croxon 	UINT32 R9;
14dae0b4b0SNigel Croxon 	UINT32 R10;
15dae0b4b0SNigel Croxon 	UINT32 R11;
16dae0b4b0SNigel Croxon 	UINT32 R12;
17dae0b4b0SNigel Croxon 	UINT32 R13;
18dae0b4b0SNigel Croxon 	UINT32 R14;
19*5b74db0eSNigel Croxon } ALIGN(JMPBUF_ALIGN) jmp_buf[1];
20dae0b4b0SNigel Croxon 
21dae0b4b0SNigel Croxon #endif /* GNU_EFI_ARM_SETJMP_H */
22