gnu-efi/inc/riscv64/efisetjmp_arch.h
Heinrich Schuchardt df31239ac5 riscv64: provide efisetjmp_arch.h
efisetjmp_arch.h is required for 'make apps'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-06-23 22:56:29 +02:00

39 lines
540 B
C

#ifndef GNU_EFI_RISCV64_SETJMP_H
#define GNU_EFI_RISCV64_SETJMP_H
#define JMPBUF_ALIGN 8
typedef struct {
/* GP regs */
UINT64 s0;
UINT64 s1;
UINT64 s2;
UINT64 s3;
UINT64 s4;
UINT64 s5;
UINT64 s6;
UINT64 s7;
UINT64 s8;
UINT64 s9;
UINT64 s10;
UINT64 s11;
UINT64 sp;
UINT64 ra;
/* FP regs */
UINT64 fs0;
UINT64 fs1;
UINT64 fs2;
UINT64 fs3;
UINT64 fs4;
UINT64 fs5;
UINT64 fs6;
UINT64 fs7;
UINT64 fs8;
UINT64 fs9;
UINT64 fs10;
UINT64 fs11;
} ALIGN(JMPBUF_ALIGN) jmp_buf[1];
#endif /* GNU_EFI_RISCV64_SETJMP_H */