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