Skip to content

Conversation

jonathanpallant
Copy link
Contributor

  • The SVC asm trampoline can now be over-ridden
  • The Undefined, Prefetch and Abort handlers can either return never, or can return a new address to continue executing from when the handler is over
  • I tried to ensure the all the handlers are listed in the same order as the vector table, for consistency
  • Put every function in its own section in the hope that unused ones will be GC'd by the linker

- The SVC asm trampoline can now be over-ridden
- The Undefined, Prefetch and Abort handlers can either return never, or can return a new address to continue executing from when the handler is over
- I tried to ensure the all the handlers are listed in the same order as the vector table, for consistency
- Put every function in its own section in the hope that unused ones will be GC'd by the linker
@jonathanpallant jonathanpallant merged commit 22f1eb9 into rust-embedded:fix-undef-handler Apr 9, 2025
57 checks passed
@thejpster thejpster deleted the fix-undef-handler branch May 22, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants