mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Incorporate address environment interfaces in binfmt/ logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5443 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -2130,7 +2130,7 @@ else
|
|||||||
<p>
|
<p>
|
||||||
<b>Binary Loader Support</b>.
|
<b>Binary Loader Support</b>.
|
||||||
These are low-level interfaces used in <code>binfmt/</code> to instantiate tasks with address environments.
|
These are low-level interfaces used in <code>binfmt/</code> to instantiate tasks with address environments.
|
||||||
These interfaces all operate on type <code>task_addrenv_t</code> which is an abstract representation of a asks's address environment and must be defined in arch/arch.h if <code>CONFIG_ADDRENVM</code> is defined.
|
These interfaces all operate on type <code>task_addrenv_t</code> which is an abstract representation of a asks's address environment and must be defined in arch/arch.h if <code>CONFIG_ADDRENV</code> is defined.
|
||||||
These low-level interfaces include:
|
These low-level interfaces include:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -2174,7 +2174,7 @@ else
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#up_addrenv_release">4.1.21.8 <code>up_addrenv_release()</code></a>:
|
<a href="#up_addrenv_release">4.1.21.8 <code>up_addrenv_release()</code></a>:
|
||||||
ARelease the TCBs reference to an address environment when a task/thread exits.
|
Release the TCB's reference to an address environment when a task/thread exits.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
@@ -3930,7 +3930,9 @@ void (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate);
|
|||||||
up_prioritize_irq() API.</li>
|
up_prioritize_irq() API.</li>
|
||||||
<li><code>CONFIG_ADDRENV</code>:
|
<li><code>CONFIG_ADDRENV</code>:
|
||||||
The CPU supports an MMU and CPU port supports provision of address
|
The CPU supports an MMU and CPU port supports provision of address
|
||||||
environments for tasks (making the, perhaps, processes).</li>
|
environments for tasks (making the, perhaps, processes).
|
||||||
|
In this case, the CPU-specific logic must provide a set of address environment interfaces as defined in the <a href="#addrenv">Address Environments</a> paragraph.
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
Reference in New Issue
Block a user