You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "raiden00pl (via GitHub)" <gi...@apache.org> on 2023/07/04 11:30:46 UTC
[GitHub] [nuttx] raiden00pl opened a new pull request, #9698: arch/armv8-m/nvic.h: add definition for NVIC non-secure registers offset
raiden00pl opened a new pull request, #9698:
URL: https://github.com/apache/nuttx/pull/9698
## Summary
- arch/armv8-m/nvic.h: add definition for NVIC non-secure registers offset
This will make it easier to use the NVIC non-secure registers using the current NVIC secure registers definitions.
## Impact
For example, setting a vector table for non-secure environment would look like this:
`putreg32(VECTOR_TABLE_NS, (NVIC_VECTAB + ARMV8M_NS_OFFSET));`
## Testing
nrf9160
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] acassis merged pull request #9698: arch/armv8-m/nvic.h: add definition for NVIC non-secure registers offset
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis merged PR #9698:
URL: https://github.com/apache/nuttx/pull/9698
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #9698: arch/armv8-m/nvic.h: add definition for NVIC non-secure registers offset
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on code in PR #9698:
URL: https://github.com/apache/nuttx/pull/9698#discussion_r1252194329
##########
arch/arm/src/armv8-m/nvic.h:
##########
@@ -61,6 +61,7 @@
#define ARMV8M_NVIC_BASE 0xe000e000
#define ARMV8M_NVIC_BASE_NS 0xe002e000
+#define ARMV8M_NS_OFFSET 0x00020000
Review Comment:
should we use ARMV8M_OFFSET_NS like ARMV8M_NVIC_BASE_NS
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org