diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gcc~13/m68k-function-attributes.html | |
new repository
Diffstat (limited to 'devdocs/gcc~13/m68k-function-attributes.html')
| -rw-r--r-- | devdocs/gcc~13/m68k-function-attributes.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devdocs/gcc~13/m68k-function-attributes.html b/devdocs/gcc~13/m68k-function-attributes.html new file mode 100644 index 00000000..2d7ffea8 --- /dev/null +++ b/devdocs/gcc~13/m68k-function-attributes.html @@ -0,0 +1,11 @@ +<div class="subsection-level-extent" id="m68k-Function-Attributes"> <div class="nav-panel"> <p> Next: <a href="mcore-function-attributes" accesskey="n" rel="next">MCORE Function Attributes</a>, Previous: <a href="m32r_002fd-function-attributes" accesskey="p" rel="prev">M32R/D Function Attributes</a>, Up: <a href="function-attributes" accesskey="u" rel="up">Declaring Attributes of Functions</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="m68k-Function-Attributes-1"><span>6.33.15 m68k Function Attributes<a class="copiable-link" href="#m68k-Function-Attributes-1"> ¶</a></span></h1> <p>These function attributes are supported by the m68k back end: </p> <dl class="table"> <dt> + <span><code class="code">interrupt</code><a class="copiable-link" href="#index-interrupt-function-attribute_002c-m68k"> ¶</a></span> +</dt> <dt><code class="code">interrupt_handler</code></dt> <dd> +<p>Use this attribute to indicate that the specified function is an interrupt handler. The compiler generates function entry and exit sequences suitable for use in an interrupt handler when this attribute is present. Either name may be used. </p> </dd> <dt> +<span><code class="code">interrupt_thread</code><a class="copiable-link" href="#index-interrupt_005fthread-function-attribute_002c-fido"> ¶</a></span> +</dt> <dd><p>Use this attribute on fido, a subarchitecture of the m68k, to indicate that the specified function is an interrupt handler that is designed to run as a thread. The compiler omits generate prologue/epilogue sequences and replaces the return instruction with a <code class="code">sleep</code> instruction. This attribute is available only on fido. </p></dd> </dl> </div><div class="_attribution"> + <p class="_attribution-p"> + © 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/m68k-Function-Attributes.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/m68k-Function-Attributes.html</a> + </p> +</div> |
