亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? programming-concepts-techniques.sgml

?? eCos操作系統(tǒng)源碼
?? SGML
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
<!-- {{{ Banner                         --><!-- =============================================================== --><!--                                                                 --><!--     programming-concepts-techniques.sgml                        --><!--                                                                 --><!--     eCos User Guide                                             --><!--                                                                 --><!-- =============================================================== --><!-- ####COPYRIGHTBEGIN####                                          --><!--                                                                 --><!-- =============================================================== --><!-- Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.  --><!-- This material may be distributed only subject to the terms      --><!-- and conditions set forth in the Open Publication License, v1.0  --><!-- or later (the latest version is presently available at          --><!-- http://www.opencontent.org/openpub/)                            --><!-- Distribution of the work or derivative of the work in any       --><!-- standard (paper) book form is prohibited unless prior           --><!-- permission obtained from the copyright holder                   --><!-- =============================================================== --><!--                                                                 -->      <!-- ####COPYRIGHTEND####                                            --><!-- =============================================================== --><!-- #####DESCRIPTIONBEGIN####                                       --><!--                                                                 --><!-- ####DESCRIPTIONEND####                                          --><!-- =============================================================== --><!-- }}} --><PART id="ecos-programming-concepts-and-techniques"><TITLE><productname>eCos</productname> Programming Concepts and Techniques</TITLE><PARTINTRO id="programming-partintro"><PARA>Programming with <productname>eCos</productname> is somewhat different from programming      in more traditional environments. <productname>eCos</productname> is a configurable open      source system, and you are able to configure and build a system      specifically to meet the needs of your application. </PARA><PARA>Various different directory hierarchies are involved in      configuring and building the system: the <EMPHASIS>component	repository</EMPHASIS>, the <EMPHASIS>build tree</EMPHASIS>,      and the <EMPHASIS>install tree</EMPHASIS>. These directories      exist in addition to the ones used to develop      applications.</PARA></PARTINTRO><CHAPTER id="cdl-concepts"><TITLE>CDL Concepts</TITLE><SECT1 id="cdl-concepts-about"><TITLE>About this chapter</TITLE><PARA>This chapter serves as a brief introduction to the	concepts involved in <productname>eCos</productname> (Embedded Configurable Operating	System).  It describes the configuration architecture and the	underlying technology to a level required for the embedded	systems developer to configure <productname>eCos</productname>.  It does not describe in	detail aspects such as how to write reusable components for	<productname>eCos</productname>: this information is given in the <citetitle>Component	  Writer&rsquo;s Guide</citetitle>.</PARA><SECT2><TITLE>Background</TITLE><PARA>Software solutions for the embedded space place	  particularly stringent demands on the developer, typically	  represented as requirements for small memory footprint, high	  performance and robustness.  These demands are addressed in	  <productname>eCos</productname> by providing the ability to perform compile-time	  specialization: the developer can tailor the operating	  system to suit the needs of the application.  In order to	  make this process manageable, <productname>eCos</productname> is built in the context	  of a Configuration Infrastructure: a set of tools including	  a <application>Configuration Tool</application> and a formal	  description of the process of configuration by means of a	  <EMPHASIS>Component Definition Language</EMPHASIS>.</PARA></SECT2><SECT2><TITLE>Configurations</TITLE><PARA><productname>eCos</productname> is tailored at source level (that is, before	    compilation or assembly) in order to create an <productname>eCos</productname>	    <EMPHASIS>configuration</EMPHASIS>. In concrete terms, an	    <productname>eCos</productname> configuration takes the form of a configuration save	    file (with extension .ecc) and set of files used to build	    user applications (including, when built, a library file	    against which the application is linked). </PARA></SECT2></SECT1><SECT1 id="cdl-component-repository"><TITLE>Component Repository</TITLE><PARA><productname>eCos</productname> is shipped in source in the form of a	  <EMPHASIS>component repository</EMPHASIS> - a directory	  hierarchy that contains the sources and other files which	  are used to build a configuration. The component repository	  can be added to by, for example, downloading from the	  net.</PARA></SECT1><SECT1 id="cdl-component-definition-language"><TITLE>Component Definition Language</TITLE><PARA>Part of the component repository is a set of files	  containing a definition of its structure.  The form used for	  this purpose is the <EMPHASIS>Component Definition	    Language</EMPHASIS> (CDL).  CDL defines the relationships	  between components and other information used by tools such	  as the <productname>eCos</productname><APPLICATION>Configuration Tool</APPLICATION>.	  CDL is generally formulated by the writers of components: it	  is not necessary to write or understand CDL in order for the	  embedded systems developer to construct an <productname>eCos</productname>	  configuration. </PARA></SECT1><SECT1 id="cdl-packages"><TITLE>Packages</TITLE><PARA>The building blocks of an <productname>eCos</productname> configuration are called	  <EMPHASIS>packages</EMPHASIS>. Packages are the units of	  software distribution.  A set of core packages (such as	  kernel, C library and math library) is provided by Red Hat:	  additional third-party packages will be available in	  future.</PARA><PARA>A package may exist in one of a number of <EMPHASIS>versions</EMPHASIS>. The default version is the <EMPHASIS>current</EMPHASIS> version. Only one version of a given package may be present in the componentrepository at any given time.</PARA><PARA>Packages are organized in a tree hierarchy.  Each packageis either at the top-level or is the child of another package.</PARA><PARA>The <productname>eCos</productname> <application> Package Administration Tool</application> can be used to add or removepackages from the component repository.  The <productname>eCos</productname> <APPLICATION>Configuration Tool</APPLICATION> can be used to include or exclude packages from the configurationbeing built.</PARA></SECT1><SECT1 id="cdl-configuration-items"><TITLE>Configuration Items</TITLE><PARA><EMPHASIS>Configuration items</EMPHASIS> are the	  individual entities that form a configuration.  Each item	  corresponds to the setting of a C pre-processor macro (for	  example,	  <literal>CYGHWR_HAL_ARM_PID_GDB_BAUD</literal>). 	  The code of <productname>eCos</productname> itself is written to test such pre-processor	  macros so as to tailor the code.  User code can do	  likewise.</PARA><PARA>Configuration items come in the following flavors:</PARA><ITEMIZEDLIST><LISTITEM><PARA><EMPHASIS>None</EMPHASIS>: such entities serve only asplace holders in the hierarchy, allowing other entities to be groupedmore easily.</PARA></LISTITEM><LISTITEM><PARA><EMPHASIS>Boolean</EMPHASIS> entities are the most commonflavor; they correspond to units of functionality that can be eitherenabled or disabled.  If the entity is enabled then there will bea #define; code will check the setting using, for example, #ifdef</PARA></LISTITEM><LISTITEM><PARA><EMPHASIS>Data</EMPHASIS> entities encapsulate some arbitrarydata. Other properties such as a set or range of legal values canbe used to constrain the actual values, for example to an integeror floating point value within a certain range.</PARA></LISTITEM><LISTITEM><PARA><EMPHASIS>Booldata</EMPHASIS> entities combine the attributesof <EMPHASIS>Boolean</EMPHASIS> and <EMPHASIS>Data</EMPHASIS>: theycan be enabled or disabled and, if enabled, will hold a data value.</PARA></LISTITEM></ITEMIZEDLIST><PARA>Like packages, configuration items exist in a tree-based hierarchy:each configuration item has a parent which may be another configurationitem or a package.  Under some conditions (such as when packagesare added or removed from a configuration), items may be &ldquo;re-parented&rdquo; suchthat their position in the tree changes. </PARA><SECT2><TITLE>Expressions</TITLE><PARA>Expressions are relationships between CDL items.  There arethree types of expression in CDL:</PARA>	<table id="cdl-expressions">	  <title>CDL Expressions</title>	<tgroup cols="3">	  <thead>	  <row>	      <entry>Expression Type</entry>	      <entry>Result</entry>	      <entry>Common Use (see <xref linkend="table-configuration-properties">)</entry></row>	  </thead>	  <tbody>	    <row>	      <entry>Ordinary</entry>	      <entry>A single value</entry>	      <entry>legal_values property</entry>	    </row>	    <row>	      <entry>List</entry><entry>A range of		values (for example &ldquo;1 to 10&rdquo;)</entry>	      <entry>legal_values property </entry></row>	    <row>	      <entry>Goal</entry><entry>True or False</entry>	      <entry>requires and active_if properties</entry></row>	    </tbody>	  </tgroup>	</table>      </SECT2>      <SECT2>	<TITLE>Properties</TITLE><PARA>Each configuration item has a set of properties.  The followingtable describes the most commonly used:</PARA>	<table id="table-configuration-properties">	  <title>Configuration properties</title>	  <tgroup cols="2">	    <thead><row>		<entry><emphasis>Property</emphasis></entry><entry><emphasis>Use </emphasis></entry></row>	    </thead>	    <tbody>	      <row>		<entry>Flavor</entry>		<entry>The &ldquo;type&rdquo; of the item, as		  described above </entry></row>	      <row>		<entry>Enabled</entry><entry>Whether		  the item is enabled </entry></row>	      <row>		<entry>Current_value</entry><entry>The current value of the item </entry></row>	      <row>		<entry>Default_value</entry><entry>An ordinary expression defining the default value of the		    item</entry></row>	      <row>		<entry>Legal_values</entry><entry>A		  list expression defining the values the item may hold (for example,		  1 to10) </entry></row>	      <row>		<entry>Active_if</entry><entry>A		  goal expression denoting the requirement for this item to be active(see below: <emphasis>Inactive Items</emphasis>) </entry></row><row><entry>Requires</entry><entry>A goalexpression denoting requirements this item places on others (seebelow: <emphasis>Conflicts</emphasis>) </entry></row><row><entry>Calculated</entry><entry>Whetherthe item as non-modifiable </entry></row><row><entry>Macro</entry><entry>The correspondingC pre-processor macro </entry></row><row><entry>File</entry><entry>The C headerfile in which the macro is defined </entry></row><row><entry>URL</entry><entry>The URL ofa documentation page describing the item </entry></row><row><entry>Hardware</entry><entry>Indicatesthat a particular package is related to specific hardware</entry></row>	    </tbody>	  </tgroup>	</table><PARA>A complete description of properties is contained in the <citetitle>ComponentWriter&rsquo;s Guide</citetitle>.</PARA></SECT2><SECT2><TITLE>Inactive Items</TITLE><PARA>Descendants of an item that is disabled are inactive: theirvalues may not be changed.  Items may also become <EMPHASIS>inactive</EMPHASIS> ifan active_if expression is used to make the item dependenton an expression involving other items. </PARA></SECT2></SECT1><SECT1 id="cdl-conflicts"><TITLE>Conflicts</TITLE><PARA>Not all settings of configuration items will lead to a	  coherent configuration; for example, the use of a timeout	  facility might require the existence of timer support, so if	  the one is required the other cannot be removed.  Coherence	  is policed by means of consistency rules (in particular, the	  goal expressions that appear as CDL items	  <EMPHASIS>requires</EMPHASIS> and	  <EMPHASIS>active_if</EMPHASIS> attributes [see	  above]).  A violation of consistency rules creates a	  <EMPHASIS>conflict</EMPHASIS>, which must be resolved in	  order to ensure a consistent configuration. Conflict	  resolution can be performed manually or with the assistance	  of the <productname>eCos</productname> tools.  Conflicts come in the following	  flavors:</PARA><ITEMIZEDLIST><LISTITEM><PARA>An <EMPHASIS>unresolved</EMPHASIS> conflict means thatthere is a reference to an entity that is not yet in the currentconfiguration </PARA></LISTITEM><LISTITEM><PARA>An <EMPHASIS>illegal value</EMPHASIS> conflict is causedwhen a configuration item is set to a value that is not permitted(that is, a <EMPHASIS>legal_values</EMPHASIS> goal expressionis failing) </PARA></LISTITEM><LISTITEM><PARA>An <EMPHASIS>evaluation exception</EMPHASIS> conflictis caused when the evaluation of an expression would fail (for example,because of a division by zero) </PARA></LISTITEM><LISTITEM><PARA>An <EMPHASIS>unsatisfied goal</EMPHASIS> conflict is causedby a failing <EMPHASIS>requires</EMPHASIS> goal expression </PARA></LISTITEM><LISTITEM><PARA>A <EMPHASIS>bad data</EMPHASIS> conflict arises only rarely,and corresponds to badly constructed CDL.  Such a conflict can onlybe resolved by reference to the CDL writer.</PARA></LISTITEM></ITEMIZEDLIST></SECT1><SECT1 id="cdl-templates"><TITLE>Templates</TITLE><PARA>A <EMPHASIS>template</EMPHASIS> is a saved configuration	  - that is, a set of packages and configuration item	  settings.  Templates are provided with <productname>eCos</productname> to allow you to	  get started quickly by instantiating (copying) a saved	  configuration corresponding to one of a number of common	  scenarios; for example, a basic <productname>eCos</productname> configuration template	  is supplied that contains the infrastructure, kernel, C and	  math libraries, plus their support packages.</PARA></SECT1></CHAPTER><CHAPTER id="component-repo-and-working-dirs"><TITLE>The Component Repository and Working Directories</TITLE><PARA>Each of the file trees involved in <productname>eCos</productname> development has a

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产91丝袜在线播放| 欧美一区二区性放荡片| 成人免费视频视频| 国产成人99久久亚洲综合精品| 久久国产麻豆精品| 国内外成人在线| 国内精品在线播放| 国产福利视频一区二区三区| 国产精品亚洲视频| 成人性视频免费网站| 99亚偷拍自图区亚洲| 91丨九色porny丨蝌蚪| 一本到一区二区三区| 色综合天天天天做夜夜夜夜做| 91视频www| 欧美日韩精品一区二区在线播放| 337p亚洲精品色噜噜噜| 日韩精品一区二区三区中文不卡| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 亚洲国产成人tv| 手机精品视频在线观看| 日本女人一区二区三区| 激情综合色综合久久综合| 国产毛片精品视频| 99久久伊人网影院| 精品婷婷伊人一区三区三| 日韩一二三区不卡| 中文字幕欧美激情| 亚洲国产日日夜夜| 国产一区在线视频| 96av麻豆蜜桃一区二区| 欧美人与性动xxxx| 久久在线观看免费| 亚洲精品写真福利| 久久超碰97人人做人人爱| 成人精品视频一区| 欧美日韩精品欧美日韩精品一| 精品国产乱码久久久久久久久 | 一区二区免费在线播放| 日日摸夜夜添夜夜添国产精品 | 91麻豆精品国产91久久久久久 | 韩国成人福利片在线播放| 99久久综合精品| 欧美一区二区三区精品| 国产亚洲精品资源在线26u| 亚洲伦理在线免费看| 久久激情五月激情| 99久久精品免费观看| 制服丝袜亚洲色图| 91精品午夜视频| 99精品桃花视频在线观看| 一本到一区二区三区| 精品久久久久久综合日本欧美| 亚洲人一二三区| 久久精品久久综合| 日本高清视频一区二区| 久久久久国产精品麻豆ai换脸 | 青青青伊人色综合久久| 成人av第一页| 91精品国产欧美一区二区成人| 国产精品免费看片| 另类综合日韩欧美亚洲| 91国偷自产一区二区三区成为亚洲经典 | 亚洲永久精品大片| 国产高清精品在线| 日韩区在线观看| 亚洲自拍偷拍图区| 大白屁股一区二区视频| 日韩欧美黄色影院| 亚洲bt欧美bt精品777| 91免费视频观看| 久久久噜噜噜久久中文字幕色伊伊| 亚洲成人av一区二区三区| 99久久精品免费看| 国产午夜久久久久| 久久99精品视频| 这里只有精品视频在线观看| 1000部国产精品成人观看| 国产一区二区三区视频在线播放| 欧美一区二区精品久久911| 亚洲综合男人的天堂| 99国产精品一区| 国产精品久久久久9999吃药| 国产成人aaaa| 国产亚洲一区字幕| 国产一区二区福利| 精品成a人在线观看| 久久激五月天综合精品| 日韩欧美你懂的| 久久国产夜色精品鲁鲁99| 日韩欧美一二三区| 日日夜夜精品视频天天综合网| 在线免费观看一区| 一区二区在线观看免费视频播放| 97精品视频在线观看自产线路二| 国产欧美精品区一区二区三区| 极品少妇一区二区| 久久亚洲二区三区| 国内欧美视频一区二区| 久久精品一区二区三区四区| 国产一区二区三区免费观看| 精品不卡在线视频| 国产麻豆精品在线| 国产日本一区二区| 成人深夜福利app| 亚洲日本在线看| 色噜噜狠狠成人中文综合| 亚洲一二三级电影| 91精品在线观看入口| 老司机午夜精品| 久久综合久久久久88| 国产精品一区二区久久不卡| 国产区在线观看成人精品| 成人性生交大片免费看中文网站| 中文字幕在线不卡一区| 在线影院国内精品| 日本怡春院一区二区| 日韩精品一区国产麻豆| 国产69精品久久99不卡| 亚洲欧美一区二区三区久本道91| 日本韩国视频一区二区| 日韩成人一区二区| 精品国产亚洲一区二区三区在线观看 | 精彩视频一区二区| 亚洲国产成人一区二区三区| 97se亚洲国产综合在线| 亚洲成人免费观看| 精品久久一区二区三区| 国产成人免费在线观看| 一区二区三区蜜桃| 日韩欧美国产高清| 成人av在线一区二区三区| 夜夜精品浪潮av一区二区三区| 欧美一区二区三区免费观看视频| 精品一区二区综合| 1区2区3区欧美| 欧美一区二区在线免费播放| 国产精品主播直播| 亚洲精品成人精品456| 日韩精品在线一区二区| 91丨九色porny丨蝌蚪| 免费高清在线视频一区·| 国产精品伦理在线| 91精品国产色综合久久不卡电影 | 欧美一区二区三区四区高清| 国产成人精品免费网站| 性久久久久久久久| 亚洲国产精品t66y| 7777精品伊人久久久大香线蕉的| 国产成人在线看| 天天做天天摸天天爽国产一区| 欧美精品一区二区三区蜜臀 | 亚洲欧美色图小说| 欧美电视剧免费观看| 91色九色蝌蚪| 精品一区中文字幕| 亚洲国产一区二区三区| 欧美国产丝袜视频| 欧美一区二区免费观在线| 97se亚洲国产综合自在线不卡| 久久草av在线| 亚洲一区二区精品视频| 国产精品天天摸av网| 欧美va亚洲va香蕉在线| 91成人在线精品| 福利91精品一区二区三区| 麻豆精品一区二区综合av| 亚洲自拍偷拍九九九| 国产精品素人视频| 精品国产欧美一区二区| 欧美日韩一级二级三级| 99re免费视频精品全部| 国产精品中文字幕欧美| 日本不卡视频在线观看| 亚洲永久精品大片| 亚洲私人黄色宅男| 国产日韩欧美精品综合| 欧美电视剧免费观看| 欧美精品一卡二卡| 欧美影院一区二区| 99久久伊人网影院| 国产电影精品久久禁18| 国产最新精品精品你懂的| 日韩va亚洲va欧美va久久| 亚洲va在线va天堂| 一区二区三区免费观看| 亚洲欧美日韩成人高清在线一区| 国产欧美日韩激情| 久久久777精品电影网影网| 精品三级在线看| 欧美成人伊人久久综合网| 欧美人与禽zozo性伦| 欧美日韩精品一区二区| 欧美色老头old∨ideo| 欧美少妇一区二区| 欧美视频中文字幕| 欧美午夜精品久久久久久超碰| 91浏览器入口在线观看| 99re视频这里只有精品| 一本色道亚洲精品aⅴ|