summaryrefslogtreecommitdiff
path: root/gnu-efi/inc/ia32/efisetjmp_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-efi/inc/ia32/efisetjmp_arch.h')
-rw-r--r--gnu-efi/inc/ia32/efisetjmp_arch.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu-efi/inc/ia32/efisetjmp_arch.h b/gnu-efi/inc/ia32/efisetjmp_arch.h
new file mode 100644
index 00000000..a5c1a81c
--- /dev/null
+++ b/gnu-efi/inc/ia32/efisetjmp_arch.h
@@ -0,0 +1,15 @@
+#ifndef GNU_EFI_IA32_SETJMP_H
+#define GNU_EFI_IA32_SETJMP_H
+
+#define JMPBUF_ALIGN 4
+
+typedef struct {
+ UINT32 Ebx;
+ UINT32 Esi;
+ UINT32 Edi;
+ UINT32 Ebp;
+ UINT32 Esp;
+ UINT32 Eip;
+} ALIGN(JMPBUF_ALIGN) jmp_buf[1];
+
+#endif /* GNU_EFI_IA32_SETJMP_H */