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