Skip to content

ARM: Support for secure mode execution - #152

Merged
ventZl merged 1 commit into
masterfrom
feature/armv8m-secure-mode-support
Jun 29, 2026
Merged

ARM: Support for secure mode execution#152
ventZl merged 1 commit into
masterfrom
feature/armv8m-secure-mode-support

Conversation

@ventZl

@ventZl ventZl commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Add support for running in ARMv8M secure mode. This happens if CMRX is loaded without secure firmware which will switch CPU into non-secure execution mode.

For now the only difference is that correct flags are set in EXC_RETURN so stacks configured in secure mode are used rather than non-secure stacks used when CMRX is running in non-secure mode and/or on Cortex-M33 machine which does not support security extensions.

Add support for running in ARMv8M secure mode. This happens if CMRX is
loaded without secure firmware which will switch CPU into non-secure
execution mode.

For now the only difference is that correct flags are set in EXC_RETURN
so stacks configured in secure mode are used rather than non-secure
stacks used when CMRX is running in non-secure mode and/or on Cortex-M33
machine which does not support security extensions.
@ventZl
ventZl merged commit 0ba4cd9 into master Jun 29, 2026
10 checks passed
@ventZl
ventZl deleted the feature/armv8m-secure-mode-support branch June 29, 2026 05:25
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.

1 participant