You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/07/04 12:32:44 UTC
[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9699: arch/arm: add support for ARMv8-M Security Extensions
pkarashchenko commented on code in PR #9699:
URL: https://github.com/apache/nuttx/pull/9699#discussion_r1251969920
##########
include/nuttx/compiler.h:
##########
@@ -472,6 +472,13 @@
# define no_builtin(n)
# endif
+/* CMSE extention */
+
+# ifdef CONFIG_ARCH_HAVE_TRUSTZONE
+# define cmse_nonsecure_entry __attribute__((cmse_nonsecure_entry))
+# define cmse_nonsecure_call __attribute__((cmse_nonsecure_call))
Review Comment:
Do we need to add similar empty defines for other compilers?
Is this going to be used in common code?
--
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