blob: a2db1b86f33b8b4b2dae77763e4474c00bfd9ca6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<div class="subsection-level-extent" id="Blackfin-Variable-Attributes"> <div class="nav-panel"> <p> Next: <a href="h8_002f300-variable-attributes" accesskey="n" rel="next">H8/300 Variable Attributes</a>, Previous: <a href="variable-attributes" accesskey="p" rel="prev">AVR Variable Attributes</a>, Up: <a href="variable-attributes" accesskey="u" rel="up">Specifying Attributes of Variables</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="Blackfin-Variable-Attributes-1"><span>6.34.4 Blackfin Variable Attributes<a class="copiable-link" href="#Blackfin-Variable-Attributes-1"> ¶</a></span></h1> <p>Three attributes are currently defined for the Blackfin. </p> <dl class="table"> <dt>
<span><code class="code">l1_data</code><a class="copiable-link" href="#index-l1_005fdata-variable-attribute_002c-Blackfin"> ¶</a></span>
</dt> <dt><code class="code">l1_data_A</code></dt> <dt><code class="code">l1_data_B</code></dt> <dd>
<p>Use these attributes on the Blackfin to place the variable into L1 Data SRAM. Variables with <code class="code">l1_data</code> attribute are put into the specific section named <code class="code">.l1.data</code>. Those with <code class="code">l1_data_A</code> attribute are put into the specific section named <code class="code">.l1.data.A</code>. Those with <code class="code">l1_data_B</code> attribute are put into the specific section named <code class="code">.l1.data.B</code>. </p> </dd> <dt>
<span><code class="code">l2</code><a class="copiable-link" href="#index-l2-variable-attribute_002c-Blackfin"> ¶</a></span>
</dt> <dd><p>Use this attribute on the Blackfin to place the variable into L2 SRAM. Variables with <code class="code">l2</code> attribute are put into the specific section named <code class="code">.l2.data</code>. </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/Blackfin-Variable-Attributes.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Blackfin-Variable-Attributes.html</a>
</p>
</div>
|