-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix SPM HAL test #9128
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
Fix SPM HAL test #9128
Conversation
When accessing non-secure ram and flash r1 was actually used by the calling function. Change to a callee saved register.
Waiting on #9131 for a fix to Travis CI. |
@orenc17 please elaborate on the change. |
@alzix and anyway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to AAPCS:
A subroutine must preserve the contents of the registers
r4-r8
,r10
,r11
andSP
(andr9
in PCS variants that designater9
asv6
).
Use r3 instead of r4 Co-Authored-By: orenc17 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
created a ticket for GCC_ARM https://bugs.launchpad.net/gcc-arm-embedded/+bug/1809607 |
CI started |
Test run: SUCCESSSummary: 9 of 9 test jobs passed |
Description
When accessing non-secure ram and flash r1 was actually used by the calling function.
Change to a callee saved register.
Pull request type
@alzix @mikisch81 please review