📄 index.html
字号:
<html><head>
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>scmRTOS - PORTs</title>
<link rel="icon" href="../favicon.ico" type="ico">
<link rel="stylesheet" type="text/css" href="../description.css" media="all"
title="Burly Wood Style">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0"
leftmargin="0" rightmargin="0">
<table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr id="banner" valign="top" height="75px"><td>
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td height="72" width="60"><img src="../scmrtos.png" hspace="4"></td>
<td><h11><nobr>Single-Chip Microcontroller</nobr></h11><br>
<div id="subtitle"><nobr>Real-Time Operating System</nobr></div></td>
</tr></table>
</td></tr>
<tr><td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td class="menu2"><table align="left" border="0" cellpadding="4" cellspacing="8" class="gridmenu" width="100%">
<colgroup>
<col width="100%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">PORTs</th>
</tr>
</thead>
<tbody valign="top">
<tr><td><a class="reference" href="msp430/index.html">MSP430</a></td>
</tr>
<tr><td><a class="reference" href="avr/index.html">AVR</a></td>
</tr>
<tr><td><a class="reference" href="bf/index.html">Blackfin</a></td>
</tr>
<tr><td><a class="reference" href="arm7/index.html">ARM7</a></td>
</tr>
<tr><td><a class="reference" href="fr/index.html">FR</a></td>
</tr>
<tr><td />
</tr>
<tr><td><a class="reference" href="../releases/index.html">Releases</a></td>
</tr>
</tbody>
</table></td>
<td id="main">
<div id="breadcrumbs"><a href="../index.html">Main page</a> > PORTs</div>
<div id="text">
<h1>PORTs</h1><div class="section">
<h1><a id="general-description" name="general-description">General Description</a></h1>
<p>A port is target-specific implementation of the RTOS. Port contains a number of
definitions and declarations that reflect target processor and cross-compiler
features. Any port consists of two parts:</p>
<ul class="simple">
<li>Common part;</li>
<li>Target-specific part;</li>
</ul>
<p>Any official Release, Sample or user project that uses the RTOS includes these
two parts and <a class="reference" href="../releases/index.html">project-dependent</a> part also.</p>
<div class="section">
<h2><a id="common-part" name="common-part">Common Part</a></h2>
<p>Common part contains main RTOS definitions and declarations such as RTOS kernel,
interprocess communication services and little support library. All Common sources
stand at <tt class="docutils literal"><span class="pre">Common</span></tt> subfolder.</p>
</div>
<div class="section">
<h2><a id="target-specific-part" name="target-specific-part">Target-specific Part</a></h2>
<p>Target-specific part describes target processor-specific and toolkit-dependent
features of the RTOS:</p>
<ul class="simple">
<li>Target-level configuration macros;</li>
<li>Critical section definition;</li>
<li>Some performance-critical functions;</li>
<li>Interrupt and interrupt service routines support;</li>
<li>Target processor specific process's constructor;</li>
<li>Idle process declaration.</li>
</ul>
<p>Target-specific sources located at <tt class="docutils literal"><span class="pre"><PortName></span></tt> subfolder where <em>PortName</em> descends
from target processor and cross-compiler names.</p>
<p>Subfolders <tt class="docutils literal"><span class="pre">Common</span></tt> and <tt class="docutils literal"><span class="pre"><PortName></span></tt> are placed to folder <tt class="docutils literal"><span class="pre">scmRTOS</span></tt> <a class="footnote-reference" href="#id5" id="id2" name="id2">[1]</a>.</p>
</div>
</div>
<hr class="docutils" />
<div class="section">
<h1><a id="port-file-set" name="port-file-set">Port File Set</a></h1>
<p>Each Port part contains a set of header and source files. The lists of the
files and its descriptions are showed below.</p>
<div class="section">
<h2><a id="id3" name="id3">Common Part</a></h2>
<p>Files in <strong>common part</strong> are really common for all RTOS ports</p>
<table border="1" class="filelist docutils">
<colgroup>
<col width="25%" />
<col width="75%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">Filename</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr><td><tt class="docutils literal"><span class="pre">scmRTOS.h</span></tt></td>
<td>main RTOS header, includes all other
headers of the RTOS</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">scmRTOS_defs.h</span></tt></td>
<td>common RTOS macros and type definitions</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">OS_Kernel.h</span></tt></td>
<td>kernel types definitions and inline code</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">OS_Kernel.cpp</span></tt></td>
<td>kernel data declarations and callable code</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">OS_Services.h</span></tt></td>
<td>RTOS interprocess communications type
definitions - classes and templates</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">OS_Services.cpp</span></tt></td>
<td>RTOS interprocess communications callable
code - function-members implementation</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">usrlib.h</span></tt></td>
<td>support library type definitions - mainly
ring buffer template that is used for OS::channel
implementation</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">usrlib.cpp</span></tt></td>
<td>support library source</td>
</tr>
</tbody>
</table>
</div>
<div class="section">
<h2><a id="id4" name="id4">Target-specific Part</a></h2>
<p>Files in <strong>target-specific part</strong> are individual for any RTOS port. These files
bring code that suit target processor and cross-compiler requirements.</p>
<!-- .. class:: borderless -->
<table border="1" class="filelist docutils">
<colgroup>
<col width="25%" />
<col width="75%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">Filename</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr><td><tt class="docutils literal"><span class="pre">commdefs.h</span></tt></td>
<td>target-specific type aliases and other common
target-dependent definitions</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">OS_Target.h</span></tt></td>
<td>target-specific header: configuration macros,
critical section definition, performance-critical
functions,interrupt and interrupt service routines
support</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">OS_Target_cpp.cpp</span></tt></td>
<td>target-specific C++ source: target processor
specific process's constructor, Idle process
declaration, System Timer interrupt service
routine definition</td>
</tr>
<tr><td><tt class="docutils literal"><span class="pre">OS_Target_asm.xxx</span></tt></td>
<td>target-specific assembler source: low-level code
such as RTOS start subroutine, context switch code</td>
</tr>
</tbody>
</table>
<div class="note">
<p class="first admonition-title">Note</p>
<p class="last">where <tt class="docutils literal"><span class="pre">xxx</span></tt> - target assembler extension.</p>
</div>
</div>
</div>
<hr class="docutils" />
<div class="section">
<h1><a id="supported-target-platforms" name="supported-target-platforms">Supported Target Platforms</a></h1>
<p>The following target platforms are supported for now:</p>
<table border="1" class="borderless targetlist docutils">
<colgroup>
<col width="44%" />
<col width="56%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">Processor (Manufacturer)</th>
<th class="head">Cross-Compiler (Developer)</th>
</tr>
</thead>
<tbody valign="top">
<tr><td><a class="reference" href="msp430/index.html">MSP430</a> (<a class="reference" href="http://www.ti.com">Texas Instruments</a>)</td>
<td>EW430 (<a class="reference" href="http://www.iar.com">IAR Systems</a>)</td>
</tr>
<tr><td><a class="reference" href="avr/index.html">AVR</a> (<a class="reference" href="http://www.atmel.com">Atmel</a>)</td>
<td>EWAVR (<a class="reference" href="http://www.iar.com">IAR Systems</a>)</td>
</tr>
<tr><td><a class="reference" href="bf/index.html">Blackfin</a> (<a class="reference" href="http://www.analog.com">Analog Devices</a>)</td>
<td>VisualDSP++ (<a class="reference" href="http://www.analog.com">Analog Devices</a>)</td>
</tr>
<tr><td><a class="reference" href="arm7/index.html">ADuC70xx</a> (<a class="reference" href="http://www.analog.com">Analog Devices</a>)</td>
<td>EWARM (<a class="reference" href="http://www.iar.com">IAR Systems</a>)</td>
</tr>
<tr><td><a class="reference" href="arm7/index.html">AT91SAM7</a> (<a class="reference" href="http://www.atmel.com">Atmel</a>)</td>
<td>EWARM (<a class="reference" href="http://www.iar.com">IAR Systems</a>)</td>
</tr>
<tr><td><a class="reference" href="arm7/index.html">LPC2xxx</a> (<a class="reference" href="http://www.nxp.com">NXP</a>)</td>
<td>EWARM (<a class="reference" href="http://www.iar.com">IAR Systems</a>)</td>
</tr>
<tr><td><a class="reference" href="arm7/index.html">STR71x</a> (<a class="reference" href="http://www.st.com/">STMicroelectronics</a>)</td>
<td>EWARM (<a class="reference" href="http://www.iar.com">IAR Systems</a>)</td>
</tr>
<tr><td><a class="reference" href="fr/index.html">MB91xxx</a> (<a class="reference" href="http://mcu.emea.fujitsu.com/mcu_portal.htm">Fujitsu</a>)</td>
<td><a class="reference" href="http://mcu.emea.fujitsu.com/mcu_tool/detail/SWB_(FR)_V6.htm">SOFTUNE Workbench V6</a></td>
</tr>
</tbody>
</table>
<hr class="docutils" />
<table class="docutils footnote" frame="void" id="id5" rules="none">
<colgroup><col class="label" /><col /></colgroup>
<tbody valign="top">
<tr><td class="label"><a class="fn-backref" href="#id2" name="id5">[1]</a></td><td>Here and above the folder names specified are related to the RTOS official
Releases (and Samples). The user may place all sources to any suitable location
according to his project requirements. But it's strongly recommended to keep
<tt class="docutils literal"><span class="pre">scmRTOS</span></tt> separate from user's project sources.</td></tr>
</tbody>
</table>
</div>
</div>
</td>
</tr></table>
</td></tr>
<tr><td valign="bottom">
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tr id="footer">
<td><a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=181958&type=3" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></td>
<td align="right">Copyright 漏 scmRTOS Team 2006-2008</td>
</tr></table>
</td></tr>
</table>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -