]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: semihosting: Support semihosting fallback on 32-bit ARM
authorSean Anderson <sean.anderson@seco.com>
Fri, 27 Oct 2023 20:40:15 +0000 (16:40 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 10 Nov 2023 17:52:33 +0000 (12:52 -0500)
commit47cfdb2192b1f8cb5061bde53fcce562afaeadf2
tree83379c53e7d1821b8351db5dec24f1835f11c526
parent6ef83ab6be8978ab85a7d8967e9585ddf5f2bbbd
arm: semihosting: Support semihosting fallback on 32-bit ARM

Add support for a semihosting fallback on 32-bit ARM. The assembly is
lightly adapted from the irq return code, except there is no offset
since lr already points to the correct instruction. The C side is mostly
like ARM64, except we have fewer cases to deal with.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
arch/arm/lib/interrupts.c
arch/arm/lib/vectors.S
lib/Kconfig