summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/arm-armv8-m-security-extensions.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gcc~13/arm-armv8-m-security-extensions.html
new repository
Diffstat (limited to 'devdocs/gcc~13/arm-armv8-m-security-extensions.html')
-rw-r--r--devdocs/gcc~13/arm-armv8-m-security-extensions.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/devdocs/gcc~13/arm-armv8-m-security-extensions.html b/devdocs/gcc~13/arm-armv8-m-security-extensions.html
new file mode 100644
index 00000000..14c9eff9
--- /dev/null
+++ b/devdocs/gcc~13/arm-armv8-m-security-extensions.html
@@ -0,0 +1,18 @@
+<div class="subsection-level-extent" id="ARM-ARMv8-M-Security-Extensions"> <div class="nav-panel"> <p> Next: <a href="avr-built-in-functions" accesskey="n" rel="next">AVR Built-in Functions</a>, Previous: <a href="arm-floating-point-status-and-control-intrinsics" accesskey="p" rel="prev">ARM Floating Point Status and Control Intrinsics</a>, Up: <a href="target-builtins" accesskey="u" rel="up">Built-in Functions Specific to Particular Target Machines</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div> <h1 class="subsection" id="ARM-ARMv8-M-Security-Extensions-1"><span>6.60.9 ARM ARMv8-M Security Extensions<a class="copiable-link" href="#ARM-ARMv8-M-Security-Extensions-1"> ΒΆ</a></span></h1> <p>GCC implements the ARMv8-M Security Extensions as described in the ARMv8-M Security Extensions: Requirements on Development Tools Engineering Specification, which can be found at <a class="uref" href="https://developer.arm.com/documentation/ecm0359818/latest/">https://developer.arm.com/documentation/ecm0359818/latest/</a>. </p> <p>As part of the Security Extensions GCC implements two new function attributes: <code class="code">cmse_nonsecure_entry</code> and <code class="code">cmse_nonsecure_call</code>. </p> <p>As part of the Security Extensions GCC implements the intrinsics below. FPTR is used here to mean any function pointer type. </p> <div class="example smallexample"> <pre class="example-preformatted" data-language="cpp">cmse_address_info_t cmse_TT (void *);
+cmse_address_info_t cmse_TT_fptr (FPTR);
+cmse_address_info_t cmse_TTT (void *);
+cmse_address_info_t cmse_TTT_fptr (FPTR);
+cmse_address_info_t cmse_TTA (void *);
+cmse_address_info_t cmse_TTA_fptr (FPTR);
+cmse_address_info_t cmse_TTAT (void *);
+cmse_address_info_t cmse_TTAT_fptr (FPTR);
+void * cmse_check_address_range (void *, size_t, int);
+typeof(p) cmse_nsfptr_create (FPTR p);
+intptr_t cmse_is_nsfptr (FPTR);
+int cmse_nonsecure_caller (void);</pre>
+</div> </div><div class="_attribution">
+ <p class="_attribution-p">
+ &copy; Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br>
+ <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/ARM-ARMv8-M-Security-Extensions.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/ARM-ARMv8-M-Security-Extensions.html</a>
+ </p>
+</div>