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