u-boot/arch/arm/lib
Jerome Forissier 0245d2ab7d arm: add initjmp()
Implement initjmp() for Arm. a non-standard extension to setjmp()/
longjmp() allowing to initialize a jump buffer with a function pointer
and a stack pointer. This will be useful to later introduce threads.
With this new function it becomes possible to longjmp() to a particular
function pointer (rather than to a point previously reached during
program execution as is the case with setjmp()), and with a custom stack.
Both things are needed to spin off a new thread. Then the usual
setjmp()/longjmp() pair is enough to save and restore a context, i.e.,
switch thread.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2025-04-23 13:19:44 -06:00
..
acpi_table.c arm: cpu: Add ACPI parking protocol support 2024-10-27 17:24:13 -06:00
ashldi3.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ashrdi3.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
asm-offsets.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
asmdefs.h arm64: arch/arm/lib: Add optimized memset/memcpy/memmove functions 2021-09-24 07:48:06 -04:00
bdinfo.c global_data: Reduce size of early-malloc vars 2024-08-26 14:06:08 -06:00
bitops.S arm: Use builtins for ffs/fls 2023-08-17 16:39:20 -04:00
bootm-fdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bootm.c usb: gadget: Remove final remnants of CONFIG_USB_DEVICE 2025-03-10 09:22:35 +01:00
cache-cp15.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cache-pl310.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cache.c arm: asm/system.h: mrc and mcr need .arm if __thumb2__ is not set 2025-04-14 08:59:39 -06:00
ccn504.S WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
cmd_boot.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
crt0_64.S spl: Use CONFIG_VAL() to obtain the SPL stack 2025-03-13 10:36:10 -06:00
crt0_aarch64_efi.S arm: riscv: efi: Export _start symbol from crt0_*_efi stubs 2025-04-02 14:33:50 -06:00
crt0_arm_efi.S arm: riscv: efi: Export _start symbol from crt0_*_efi stubs 2025-04-02 14:33:50 -06:00
crt0.S spl: Use CONFIG_VAL() to obtain the SPL stack 2025-03-13 10:36:10 -06:00
debug.S arm: Drop CONFIG_MMU 2023-02-07 14:33:48 -05:00
div0.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
div64.S WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
eabi_compat.c arm: Add aligned-memory aliases to eabi_compat 2025-04-02 14:33:50 -06:00
elf_aarch64_efi.lds efi_loader: use INCLUDE in EFI linker scripts 2025-01-17 20:31:26 +01:00
elf_arm_efi.lds efi_loader: use include in ARM EFI linker script 2025-01-17 20:31:26 +01:00
gic_64.S arm64: gic: Add power up sequence for GIC-600 2024-03-19 18:40:46 -04:00
gic-v2.c arm: lib: Add GICV2 driver 2024-10-27 17:24:13 -06:00
gic-v3-its.c arm: gic-v3: Scan for subnodes 2025-04-08 16:23:27 -06:00
image.c Revert "Merge patch series "pxe: Precursor series for supporting read_all() in extlinux / PXE"" 2025-04-07 16:35:43 -06:00
interrupts_64.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
interrupts_m.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
interrupts.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
lib1funcs.S arm: lib: add __gnu_thumb1_case_si 2023-04-06 19:10:08 -04:00
lshrdi3.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile Merge patch series "Switch to using $(PHASE_) in Makefiles" 2025-04-11 12:16:49 -06:00
memcpy-arm64.S arm64: arch/arm/lib: Add optimized memset/memcpy/memmove functions 2021-09-24 07:48:06 -04:00
memcpy.S arm: ARMv4 assembly compatibility 2022-09-02 13:40:42 -04:00
memset-arm64.S arm64: memset-arm64: Use simple memset when cache is disabled 2021-09-24 07:48:06 -04:00
memset.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
muldi3.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
psci-dt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
reloc_aarch64_efi.c arm: Remove unused _relocate arguments 2018-07-19 16:31:36 -04:00
reloc_arm_efi.c arm: Remove unused _relocate arguments 2018-07-19 16:31:36 -04:00
relocate_64.S Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
relocate.S arm: Remove redundant loading of image copy start offse 2025-02-10 16:37:22 -06:00
reset.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
save_prev_bl_data.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sections.c arm: Fix up a stale comment in sections.c 2024-10-03 11:52:16 -06:00
semihosting.S arm: semihosting: Fix returning from traps on ARMv6 and lower 2023-11-10 12:52:28 -05:00
setjmp_aarch64.S arm: add initjmp() 2025-04-23 13:19:44 -06:00
setjmp.S arm: add initjmp() 2025-04-23 13:19:44 -06:00
spl.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stack.c arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:47 -06:00
uldivmod.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vectors_m.S Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h 2022-06-06 12:09:19 -04:00
vectors.S arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:47 -06:00
xferlist.c bloblist: refactor xferlist and bloblist 2025-02-19 18:49:36 -06:00
xferlist.h arm: Get bloblist from boot arguments 2024-02-29 09:24:22 -05:00
zimage.c arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:47 -06:00