2021-12-30 10:39:47 +03:00
|
|
|
#ifndef GNU_EFI_LOONGARCH64_SETJMP_H
|
|
|
|
#define GNU_EFI_LOONGARCH64_SETJMP_H
|
|
|
|
|
|
|
|
#define JMPBUF_ALIGN 8
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
/* GP regs */
|
|
|
|
UINT64 RA;
|
|
|
|
UINT64 SP;
|
|
|
|
UINT64 FP;
|
|
|
|
|
|
|
|
UINT64 S0;
|
|
|
|
UINT64 S1;
|
|
|
|
UINT64 S2;
|
|
|
|
UINT64 S3;
|
|
|
|
UINT64 S4;
|
|
|
|
UINT64 S5;
|
|
|
|
UINT64 S6;
|
|
|
|
UINT64 S7;
|
|
|
|
UINT64 S8;
|
2023-08-12 14:43:40 +03:00
|
|
|
} EFI_ALIGN(JMPBUF_ALIGN) jmp_buf[1];
|
2021-12-30 10:39:47 +03:00
|
|
|
|
|
|
|
#endif /* GNU_EFI_LOONGARCH64_SETJMP_H */
|