Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch/arm: Support setjmp/longjmp for all socs #5703

Merged
merged 1 commit into from Mar 9, 2022

Conversation

no1wudi
Copy link
Contributor

@no1wudi no1wudi commented Mar 9, 2022

Summary

After check the official specification of ARM ISA
and Thumb ISA, the arch_setjmp_thumb.S are written
by arm unified assembly language, so it easy to make it works for ARM and thumb ISA.

Impact

setjmp/longjmp for Cortex A processor

Testing

Tested on sabre-6quad:ostest (both thumb mode and arm mode)

arch/Kconfig Show resolved Hide resolved
libs/libc/machine/arm/gnu/arch_setjmp.S Outdated Show resolved Hide resolved
After check the official specification of ARM ISA
and Thumb ISA, the arch_setjmp_thumb.S are written
by arm unified assembly language,
so it easy to make it works for ARM and thumb ISA.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
@pkarashchenko pkarashchenko merged commit 69cfe8d into apache:master Mar 9, 2022
@jerpelea jerpelea added this to To-Add in Release Notes - 10.3.0 Mar 15, 2022
@jerpelea jerpelea moved this from To-Add to In Progress in Release Notes - 10.3.0 Mar 17, 2022
@jerpelea jerpelea moved this from In Progress to added in Release Notes - 10.3.0 Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants