xref: /DragonStub/inc/ia32/efisetjmp_arch.h (revision 5b74db0e154ffd2fba4bcc254069844f21913988)
1dae0b4b0SNigel Croxon #ifndef GNU_EFI_IA32_SETJMP_H
2dae0b4b0SNigel Croxon #define GNU_EFI_IA32_SETJMP_H
3dae0b4b0SNigel Croxon 
49ce3546dSNigel Croxon #define JMPBUF_ALIGN 4
59ce3546dSNigel Croxon 
6dae0b4b0SNigel Croxon typedef struct {
7dae0b4b0SNigel Croxon 	UINT32	Ebx;
8dae0b4b0SNigel Croxon 	UINT32	Esi;
9dae0b4b0SNigel Croxon 	UINT32	Edi;
10dae0b4b0SNigel Croxon 	UINT32	Ebp;
11dae0b4b0SNigel Croxon 	UINT32	Esp;
12dae0b4b0SNigel Croxon 	UINT32	Eip;
13*5b74db0eSNigel Croxon } ALIGN(JMPBUF_ALIGN) jmp_buf[1];
14dae0b4b0SNigel Croxon 
15dae0b4b0SNigel Croxon #endif /* GNU_EFI_IA32_SETJMP_H */
16