This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
331: Refactor stack painting r=jonathanpallant a=Urhengulas Most notably: - set registers using probe-rs, not in the subroutine anymore → this enables to have the subroutine as a const array - bundle assertions in `assert_subroutine!` macro → macro and not fn to preserve correct location in the panic message - encapsulate function and subroutine in a module - greatly improve documentation - rename arguments `start` and `end` to `low_addr` and `high_addr` - use `low_addr` and `stack_size` as arguments (This PR can be considered a preparation for #327) Co-authored-by: Urhengulas <johann.hemmann@code.berlin> Co-authored-by: Johann Hemmann <johann.hemmann@code.berlin>
- Loading branch information
Showing
2 changed files
with
117 additions
and
82 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