2 * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
3 * (C) Copyright 2016 Alexander Graf <agraf@suse.de>
5 * SPDX-License-Identifier: GPL-2.0+
12 * This really should be opaque, but the EFI implementation wrongly
13 * assumes that a 'struct jmp_buf_data' is defined.
16 #if defined(__aarch64__)
19 u32 regs[10]; /* r4-r9, sl, fp, sp, lr */
23 typedef struct jmp_buf_data jmp_buf[1];
25 int setjmp(jmp_buf jmp);
26 void longjmp(jmp_buf jmp, int ret);
28 #endif /* _SETJMP_H_ */