summaryrefslogtreecommitdiff
path: root/gnu-efi/inc/aarch64/efisetjmp_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-efi/inc/aarch64/efisetjmp_arch.h')
-rw-r--r--gnu-efi/inc/aarch64/efisetjmp_arch.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu-efi/inc/aarch64/efisetjmp_arch.h b/gnu-efi/inc/aarch64/efisetjmp_arch.h
new file mode 100644
index 00000000..8dbce078
--- /dev/null
+++ b/gnu-efi/inc/aarch64/efisetjmp_arch.h
@@ -0,0 +1,33 @@
+#ifndef GNU_EFI_AARCH64_SETJMP_H
+#define GNU_EFI_AARCH64_SETJMP_H
+
+#define JMPBUF_ALIGN 8
+
+typedef struct {
+ /* GP regs */
+ UINT64 X19;
+ UINT64 X20;
+ UINT64 X21;
+ UINT64 X22;
+ UINT64 X23;
+ UINT64 X24;
+ UINT64 X25;
+ UINT64 X26;
+ UINT64 X27;
+ UINT64 X28;
+ UINT64 FP;
+ UINT64 LR;
+ UINT64 IP0;
+
+ /* FP regs */
+ UINT64 D8;
+ UINT64 D9;
+ UINT64 D10;
+ UINT64 D11;
+ UINT64 D12;
+ UINT64 D13;
+ UINT64 D14;
+ UINT64 D15;
+} ALIGN(JMPBUF_ALIGN) jmp_buf[1];
+
+#endif /* GNU_EFI_AARCH64_SETJMP_H */