summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/setjmp.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-03-10 07:49:17 -0600
committerTom Rini <trini@konsulko.com>2025-03-10 07:49:33 -0600
commit42fd94893e7e0fe4ee1e8c5efa35958459842da6 (patch)
tree50afa0a3327489e9e9ed4c54087b608301b2c9ce /arch/arm/include/asm/setjmp.h
parent743c15b9fdd2f639012a2c26734dc146dc568218 (diff)
parentcb21476496d6f48712b24045aa7cd3299ad65d99 (diff)
Merge tag 'efi-next-20250310' of https://source.denx.de/u-boot/custodians/u-boot-efi into next
Pull request efi-next-20250310 CI: * https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/25043 UEFI: * Clean up usage of structure jmp_buf_data * Refactor EFI network protocol implementation for future support of multiple network interfaces. - efi_net: let efi_net_set_dp properly update the device path - expose symbols to be used by the EFI network stack - efi_setup: Add efi_start_obj_list() to efi_setup.c - efi_net: Add efi_net_do_start() to efi_net.c - efi_device_path: Pass net udevice as argument - efi_net: Add device path cache - efi_net: Add dhcp cache - efi_net: Add support for multiple efi_net_obj Others: * legacy-net: wget: fix wget_info handling after new tcp legacy stack * lib: correct description of CONFIG_SYS_FDT_PAD * Separate setjmp.h into architecture dependent and independent parts - sandbox: remove linux/types.h dependency in setjmp.h - arm: include asm-generic/int-ll64.h in setjmp.h - common: clean up setjmp.h * arm: use type jmp_buf instead of struct jmp_buf_data
Diffstat (limited to 'arch/arm/include/asm/setjmp.h')
-rw-r--r--arch/arm/include/asm/setjmp.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/arch/arm/include/asm/setjmp.h b/arch/arm/include/asm/setjmp.h
index 662bec86321..a9eccf7f632 100644
--- a/arch/arm/include/asm/setjmp.h
+++ b/arch/arm/include/asm/setjmp.h
@@ -4,13 +4,11 @@
* (C) Copyright 2016 Alexander Graf <agraf@suse.de>
*/
-#ifndef _SETJMP_H_
-#define _SETJMP_H_ 1
+#ifndef _ASM_SETJMP_H_
+#define _ASM_SETJMP_H_ 1
+
+#include <asm-generic/int-ll64.h>
-/*
- * This really should be opaque, but the EFI implementation wrongly
- * assumes that a 'struct jmp_buf_data' is defined.
- */
struct jmp_buf_data {
#if defined(__aarch64__)
u64 regs[13];
@@ -19,9 +17,4 @@ struct jmp_buf_data {
#endif
};
-typedef struct jmp_buf_data jmp_buf[1];
-
-int setjmp(jmp_buf jmp);
-void longjmp(jmp_buf jmp, int ret);
-
-#endif /* _SETJMP_H_ */
+#endif /* _ASM_SETJMP_H_ */