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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? programming-concepts-techniques.sgml

?? ecos實時嵌入式操作系統
?? SGML
?? 第 1 頁 / 共 3 頁
字號:
<!-- {{{ 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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国内外成人在线| 日韩高清不卡一区二区三区| www日韩大片| 国产精品美女久久久久久| 韩国女主播成人在线| 久久精品人人爽人人爽| 久久精品国产在热久久| 午夜视频久久久久久| 日韩电影在线观看网站| 精品日韩成人av| 福利一区二区在线| 国产麻豆成人精品| 久久99这里只有精品| 亚洲永久精品大片| 欧美高清dvd| 国产婷婷精品av在线| 五月天一区二区三区| 成人激情校园春色| 日韩欧美中文字幕公布| 亚洲九九爱视频| 国产在线视视频有精品| 国产精品你懂的在线| 一区二区三区在线视频观看58 | 蜜臀精品一区二区三区在线观看| 成人污视频在线观看| 欧洲亚洲国产日韩| 亚洲日本青草视频在线怡红院| 韩国精品主播一区二区在线观看| 欧美日韩成人综合| 亚洲三级久久久| 久久精品国产久精国产| 国产精品一级在线| 亚洲自拍与偷拍| 成人精品小蝌蚪| 国产女主播一区| 精品制服美女丁香| 在线一区二区三区四区五区| 色婷婷av一区二区三区大白胸| 91黄色激情网站| 欧美最猛黑人xxxxx猛交| 久久精品国产亚洲a| 91精品国产91久久综合桃花| 欧美亚一区二区| 久久99精品国产麻豆不卡| 欧美不卡一二三| 中文字幕制服丝袜成人av | 久久免费电影网| 91精品国产麻豆国产自产在线 | 国产成人超碰人人澡人人澡| 久久超碰97中文字幕| 国产a视频精品免费观看| 成人免费黄色在线| 中日韩av电影| 一区二区三区在线影院| 成人免费高清视频| 国产欧美日韩在线看| 亚洲精品一区二区三区99| 精品一区二区三区免费视频| 国产精品毛片久久久久久| 欧美一区二区福利在线| 国产不卡高清在线观看视频| 精品伊人久久久久7777人| av在线这里只有精品| 欧美一级欧美一级在线播放| 欧美经典三级视频一区二区三区| av亚洲精华国产精华精| 日韩欧美在线网站| 一本到不卡精品视频在线观看| 欧美一级在线视频| 国产午夜亚洲精品不卡| 久久综合视频网| 欧美大白屁股肥臀xxxxxx| 久久影视一区二区| 日韩av中文字幕一区二区三区| 久久99精品久久久久久国产越南| 免费精品视频最新在线| 高清不卡在线观看| 91视频www| 亚洲福利一区二区三区| 久久综合狠狠综合久久综合88 | 色综合久久久网| 欧美三区在线观看| 欧美色大人视频| 2017欧美狠狠色| 亚洲欧美日韩一区| 久久99热狠狠色一区二区| 欧美一级爆毛片| 久久综合久久综合久久综合| 欧美一区二区三区爱爱| 精品国产乱码久久久久久久 | 视频一区在线播放| 日韩国产精品91| 久久国产精品99久久人人澡| 国产综合成人久久大片91| 久久久国产精品午夜一区ai换脸| 欧美国产97人人爽人人喊| 亚洲综合在线免费观看| 精品伊人久久久久7777人| 色偷偷一区二区三区| 欧美大片国产精品| 亚洲男女一区二区三区| 蓝色福利精品导航| 色婷婷一区二区| 国产午夜精品久久久久久免费视| 一区二区三区国产豹纹内裤在线| 精品一区二区三区免费观看| 欧美自拍偷拍一区| 自拍视频在线观看一区二区| 麻豆国产精品一区二区三区| 日本精品免费观看高清观看| 国产女主播一区| 国产自产2019最新不卡| 欧美一区二区三区男人的天堂| 自拍视频在线观看一区二区| 国产精品一区二区x88av| 欧美成人一级视频| 国产成人精品午夜视频免费| 国产精品91一区二区| 精品久久久久av影院| 蜜桃久久久久久久| 日韩欧美一区二区免费| 免费在线观看一区二区三区| 制服丝袜av成人在线看| 蜜桃av一区二区| 久久你懂得1024| 成人av第一页| 亚洲精品免费在线观看| 精品视频资源站| 亚洲激情综合网| 91精品国产91综合久久蜜臀| 久久国产精品免费| 亚洲欧洲www| 91麻豆精品国产综合久久久久久| 男女性色大片免费观看一区二区| 欧美大片在线观看一区| 国产成人8x视频一区二区| 亚洲精品视频免费观看| 日韩一区二区三区免费观看| 成人午夜电影久久影院| 亚洲高清一区二区三区| 久久色在线视频| 色8久久人人97超碰香蕉987| 免费欧美在线视频| 一区二区三区国产精品| 精品国产免费一区二区三区四区| 美女视频一区在线观看| 亚洲色图另类专区| 欧美一级理论片| 欧美午夜理伦三级在线观看| 国内不卡的二区三区中文字幕 | 国产一区视频导航| 一区二区三区欧美亚洲| 国产精品青草综合久久久久99| 欧美日韩亚洲综合在线| 成人免费福利片| 国产精品正在播放| 激情欧美一区二区三区在线观看| 亚洲成人第一页| 亚洲一卡二卡三卡四卡五卡| 亚洲精品免费在线播放| 中文字幕一区二区三区不卡| 久久午夜色播影院免费高清| 日韩欧美在线网站| 欧美一二三四区在线| 欧美一级在线视频| 日韩你懂的电影在线观看| 欧美日韩国产免费一区二区 | 亚洲综合图片区| 亚洲另类在线制服丝袜| 亚洲精品国久久99热| 一区二区三区高清| 日本美女一区二区三区| 日韩电影一区二区三区| 国模娜娜一区二区三区| 国产综合久久久久影院| 成人性生交大片免费看视频在线| 成人激情动漫在线观看| 91九色最新地址| 欧美一级久久久久久久大片| 久久精品人人做人人爽人人| 亚洲欧洲国产专区| 五月婷婷另类国产| 久久成人免费网站| 成人黄色av网站在线| 3d动漫精品啪啪1区2区免费| 国产亚洲精品超碰| 一区二区三区四区国产精品| 九九九精品视频| 一本到三区不卡视频| 久久久无码精品亚洲日韩按摩| 最新中文字幕一区二区三区| 丝袜美腿亚洲综合| 一本到不卡精品视频在线观看| 精品国产第一区二区三区观看体验| 国产精品色一区二区三区| 男男gaygay亚洲| 欧美日韩中文字幕一区| |精品福利一区二区三区| 奇米精品一区二区三区在线观看 | 色婷婷综合久久久中文字幕|