summaryrefslogtreecommitdiff
path: root/gnu-efi/inc/mips64el/efisetjmp_arch.h
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2021-03-23 23:49:46 +0000
committerSteve McIntyre <steve@einval.com>2021-03-23 23:49:46 +0000
commit1251a7ba86fc40a6aad8b4fecdbca2b61808d9fa (patch)
tree2125fda549aaca55cb49a48d54be77dec7fbf3df /gnu-efi/inc/mips64el/efisetjmp_arch.h
parent85b409232ce89b34626df9d72abedf5d4f5ccef6 (diff)
parent031e5cce385d3f96b1caa1d53495332a7eb03749 (diff)
downloadefi-boot-shim-debian/15.3-1.tar.gz
efi-boot-shim-debian/15.3-1.zip
Update upstream source from tag 'upstream/15.3'debian/15.3-1
Update to upstream version '15.3' with Debian dir 1b484f1c1ac270604a5a1451b34de4b0865c6211
Diffstat (limited to 'gnu-efi/inc/mips64el/efisetjmp_arch.h')
-rw-r--r--gnu-efi/inc/mips64el/efisetjmp_arch.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu-efi/inc/mips64el/efisetjmp_arch.h b/gnu-efi/inc/mips64el/efisetjmp_arch.h
new file mode 100644
index 00000000..2b8f756e
--- /dev/null
+++ b/gnu-efi/inc/mips64el/efisetjmp_arch.h
@@ -0,0 +1,34 @@
+#ifndef GNU_EFI_MIPS64EL_SETJMP_H
+#define GNU_EFI_MIPS64EL_SETJMP_H
+
+#define JMPBUF_ALIGN 8
+
+typedef struct {
+ /* GP regs */
+ UINT64 RA;
+ UINT64 SP;
+ UINT64 FP;
+ UINT64 GP;
+ UINT64 S0;
+ UINT64 S1;
+ UINT64 S2;
+ UINT64 S3;
+ UINT64 S4;
+ UINT64 S5;
+ UINT64 S6;
+ UINT64 S7;
+
+#ifdef __mips_hard_float
+ /* FP regs */
+ UINT64 F24;
+ UINT64 F25;
+ UINT64 F26;
+ UINT64 F27;
+ UINT64 F28;
+ UINT64 F29;
+ UINT64 F30;
+ UINT64 F31;
+#endif
+} ALIGN(JMPBUF_ALIGN) jmp_buf[1];
+
+#endif /* GNU_EFI_MIPS64EL_SETJMP_H */