Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_
This commit is contained in:
parent
13b5f7825c
commit
7258eaab49
@ -12,7 +12,7 @@
|
|||||||
<h1><big><font color="#3c34ec">
|
<h1><big><font color="#3c34ec">
|
||||||
<i>NuttX RTOS Porting Guide</i>
|
<i>NuttX RTOS Porting Guide</i>
|
||||||
</font></big></h1>
|
</font></big></h1>
|
||||||
<p>Last Updated: June 11, 2013</p>
|
<p>Last Updated: July 26, 2013</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -4367,12 +4367,12 @@ void (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate);
|
|||||||
Some architectures require a description of the RAM configuration:
|
Some architectures require a description of the RAM configuration:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>CONFIG_DRAM_SIZE</code>:
|
<li><code>CONFIG_RAM_SIZE</code>:
|
||||||
Describes the installed DRAM.</li>
|
Describes the primary installed RAM.</li>
|
||||||
<li><code>CONFIG_DRAM_START</code>:
|
<li><code>CONFIG_RAM_START</code>:
|
||||||
The start address of DRAM (physical)</li>
|
The start address of primary RAM (physical)</li>
|
||||||
<li><code>CONFIG_DRAM_VSTART</code>:
|
<li><code>CONFIG_RAM_VSTART</code>:
|
||||||
The start address of DRAM (virtual)</li>
|
The start address of primary RAM (virtual). This is only needed on platforms that support address mapping.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>Build Options</h2>
|
<h2>Build Options</h2>
|
||||||
@ -5063,14 +5063,14 @@ int ret = sigaction(SIGCHLD, &sa, NULL);
|
|||||||
<li>
|
<li>
|
||||||
<code>CONFIG_PAGING_NLOCKED</code>:
|
<code>CONFIG_PAGING_NLOCKED</code>:
|
||||||
This is the number of locked pages in the memory map.
|
This is the number of locked pages in the memory map.
|
||||||
The locked address region will then be from <code>CONFIG_DRAM_VSTART</code> through
|
The locked address region will then be from <code>CONFIG_RAM_VSTART</code> through
|
||||||
(<code>CONFIG_DRAM_VSTART</code> + <code>CONFIG_PAGING_PAGESIZE</code>*<code>CONFIG_PAGING_NLOCKED</code>)
|
(<code>CONFIG_RAM_VSTART</code> + <code>CONFIG_PAGING_PAGESIZE</code>*<code>CONFIG_PAGING_NLOCKED</code>)
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<code>CONFIG_PAGING_LOCKED_PBASE</code> and <code>CONFIG_PAGING_LOCKED_VBASE</code>:
|
<code>CONFIG_PAGING_LOCKED_PBASE</code> and <code>CONFIG_PAGING_LOCKED_VBASE</code>:
|
||||||
These may be defined to determine the base address of the locked page regions.
|
These may be defined to determine the base address of the locked page regions.
|
||||||
If neither are defined, the logic will be set the bases to <code>CONFIG_DRAM_START</code>
|
If neither are defined, the logic will be set the bases to <code>CONFIG_RAM_START</code>
|
||||||
and <code>CONFIG_DRAM_VSTART</code> (i.e., it assumes that the base address of the locked
|
and <code>CONFIG_RAM_VSTART</code> (i.e., it assumes that the base address of the locked
|
||||||
region is at the beginning of RAM).
|
region is at the beginning of RAM).
|
||||||
<b>NOTE</b>:
|
<b>NOTE</b>:
|
||||||
In some architectures, it may be necessary to take some memory from the beginning
|
In some architectures, it may be necessary to take some memory from the beginning
|
||||||
|
Loading…
Reference in New Issue
Block a user