-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch: arm: cortex_m: move part of swap_helper to C
Asm is notoriously harder to maintain than C and requires core specific adaptation which impairs even more the readability of the code. This change significantly enhances the maintainability & portability of the code at the expanse of an indirection (1 outlined function). Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
- Loading branch information
1 parent
d55ea8d
commit 773739a
Showing
2 changed files
with
67 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters