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
Suggestion to add bit- macros for EXC_RETURN/Integrity Signature flags #340
Comments
Hi @ioannisg, Thanks for getting in touch about this. Cheers, |
@JonatanAntoni Yes, I can work on an PR for this one. Will keep you posted. |
Great. That would be very helpful as team capacity is always the limiting factor. Thanks. |
We added added defines to CMSIS-Core(M) for EXC_RETURN values. Sorry we have not found the value of Integrity Signature (is this documented somewhere? why is this value important as it is checked by HW only?) |
@ReinhardKeil thanks a lot for the update; the reasoning behind having the needs to check the Integrity Signature in Software could be as follows: Assume a Cortex-M33 with Security Extensions. |
Hi @ioannisg, can you confirm that the enhancements provided are functional and fulfill your requirements? Cheers, |
@JonatanAntoni It would be best if |
Hi @flit, Thanks for pointing this out. Cheers, |
- EXC_INTEGRITY_SIGNATURE define that was added in #c4c089d. - Changed comment from Offse:t to Offset: added in #9e8e488. Change-Id: I6a6f6e02c2e4371281d97cedd4cb2d5a5ea09394
… includes. SPSEL is bit[2] with resulting mask value of 4. Bug introduced with issue #340.
Hi @ioannisg, May I ask you to cross check the provided changes and finally close this issue, please? |
Looks good, sorry for delaying this |
… includes. SPSEL is bit[2] with resulting mask value of 4. Bug introduced with issue ARM-software#340.
As a developer, implementing exception & fault handling functions for Cortex-M MCUs, I would like to have standard (CMSIS) bit-mask macro #defines for EXC_RETURN flags, namely, ES, SPSEL, Mode, S, Ftype etc., so I would not have to define those in OS/application source code.
Particularly for ARMv8-M with Security Extension: I would also like to have a macro definition for the value of the Integrity Signature.
The text was updated successfully, but these errors were encountered: