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

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

?? programming.sgml

?? eCos操作系統源碼
?? SGML
?? 第 1 頁 / 共 4 頁
字號:
<!-- {{{ Banner                         --><!-- =============================================================== --><!--                                                                 --><!--     programming.sgml                                            --><!--                                                                 --><!--     eCos User Guide                                             --><!--                                                                 --><!-- =============================================================== --><!-- ####COPYRIGHTBEGIN####                                          --><!--                                                                 --><!-- =============================================================== --><!-- Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.  --><!-- Copyright (C) 2003 Nick Garnett                                 --><!-- 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="user-guide-programming"><TITLE>Programming With <productname>eCos</productname></TITLE><CHAPTER ID="PROGRAMMING-WITH-ECOS"><TITLE>Programming With <productname>eCos</productname></TITLE><PARA>The following chapters of this manual comprise a simple tutorialfor configuring and building <productname>eCos</productname>, building and running <productname>eCos</productname> tests,and finally building three stand-alone example programs which usethe  <productname>eCos</productname> API to perform some simple tasks.</PARA><PARA>You will need a properly installed <productname>eCos</productname> system, with the correctversions of the GNU toolchain.<!-- <conditionaltext> --> On Windowsyou will be using the bash command line interpreter that comes withCygwin, with the environment variables set as described in thetoolchain documentation.</PARA><SECT1 id="development-process"><TITLE>The Development Process</TITLE><PARA>Most development projects using <productname>eCos</productname> would contain some (ormost) of  the following:</PARA><SECT2><TITLE><productname>eCos</productname> Configuration</TITLE><PARA><productname>eCos</productname> is configured to provide the desired API (the inclusionof libc, uitron, and the disabling of certain undesired funtions,etc.), and semantics (selecting scheduler, mutex behavior, etc.).See <XREF LINKEND="CONFIGURING-AND-BUILDING-ECOS-FROM-SOURCE">.</PARA><PARA>It would normally make sense to enable <productname>eCos</productname> assertion checkingat this time as well, to catch as many programming errors duringthe development phase as possible.</PARA><PARA>Note that it should not be necessary to spend much time on<productname>eCos</productname> configuration initially. It may be important to perform finetuning to reduce the memory footprint and to improve performancelater when the product reaches a testable state.</PARA></SECT2><SECT2><TITLE>    Integrity check of the <productname>eCos</productname> configuration</TITLE><PARA>While we strive to thoroughly test <productname>eCos</productname>, the vast numberof configuration permutations mean that the particular configurationparameters used for your project may not have been tested. Therefore,we advise running the <productname>eCos</productname> tests after the project's<productname>eCos</productname> configuration has been determined. See <XREF LINKEND="RUNNING-AN-ECOS-TEST-CASE">.</PARA><PARA>Obviously, this should be repeated if the configuration changeslater on in the development process.</PARA></SECT2><SECT2><TITLE>    Application Development - Target Neutral Part</TITLE><PARA>While your project is probably targeting a specific architectureand platform, possibly custom hardware, it may be possible to performpart of the application development using simulated or synthetictargets.</PARA><PARA>There are three good reasons for doing this:</PARA><ITEMIZEDLIST><LISTITEM><PARA>It may be possible by this means to perform applicationdevelopment in parallel with the design/implementationof the target hardware, thus providing more time for developingand testing functionality, and reducing time-to-market.</PARA></LISTITEM><LISTITEM><PARA>The build-run-debug-cycle may be faster when the applicationdoes not have to be downloaded to a target via a serial interface.Debugging is also likely to be more responsive when you do not have toto communicate with the remote GDB stubs in RedBoot via serial. Italso removes the need for manually or automatically resetting thetarget hardware.</PARA></LISTITEM><listitem><para>New hardware can often be buggy. Comparing the behaviour of theprogram on the hardware and in the simulator or synthetic target mayallow you to identify where the problems lie.</para></listitem></ITEMIZEDLIST><PARA>This approach is possible because all targets (includingsimulators and synthetic ones) provide the same basic API: thatis, kernel, libc, libm, uitron, infra, and to some extent, HAL andIO.</PARA><PARA>Synthetic targets are especially suitable as they allow youto construct simulations of elaborate devices by interaction withthe host system, where an IO device API can hide the details fromthe application. When switching to hardware later in the developmentcycle, the IO driver is properly implemented.</para><para>Simulators can also do this, but it all depends on thedesign and capabilities of the simulator you use. Some, like<ULINK URL="http://sources.redhat.com/sid">SID</ULINK> or<ULINK URL="http://bochs.sourceforge.net/">Bochs</ULINK> providecomplete hardware emulation, while others just support enough of theinstruction set to run compiled code.</PARA><PARA>Therefore, select a simulator or synthetic target and useit for as long as possible for application development. That is,configure for the selected target, build <productname>eCos</productname>, build the applicationand link with <productname>eCos</productname>, run and debug. Repeat the latter two steps untilyou are happy with it.</PARA><PARA>Obviously, at some time you will have to switch to the intendedtarget hardware, for example when adding target specific featuresupport, for memory footprint/performance characterization,and for final tuning of <productname>eCos</productname> and the application.</PARA></SECT2><SECT2><TITLE>    Application Development - Target Specific Part</TITLE><PARA>Repeat the build-run-debug-cycle while performing final tuningand debugging of application. Remember to disable <productname>eCos</productname> assertionchecking if you are testing any performance-related aspects, it canmake a big difference.</PARA><PARA>It may be useful to switch between this and the previous steprepeatedly through the development process; use the simulator/synthetictarget for actual development, and use the target hardware to continuallycheck memory footprint and performance. There should be little costin switching between the two targets when using two separate buildtrees. </PARA></SECT2></SECT1></CHAPTER><!-- ==================================================== --><CHAPTER ID="CONFIGURING-AND-BUILDING-ECOS-FROM-SOURCE"><!-- <conditionaltext> --><TITLE><!-- <xref> --><!-- <index></index> -->Configuring and Building <productname>eCos</productname> from Source</TITLE><PARA>This chapter documents the configuration of <productname>eCos</productname>. The process isthe same for any of the supported targets: you may select ahardware target (if you have a board available), any one of thesimulators, or a synthetic target (if your host platform has synthetictarget support).</PARA><!-- ==================================================== --><SECT1 id="ecos-startup-configs"><TITLE><!-- <xref> --><productname>eCos</productname> Start-up Configurations</TITLE><PARA>There are various ways to download an executable image to atarget board, and these involve different ways of preparing theexecutable image. In the <productname>eCos</productname> Hardware Abstraction Layer (HAL package)there are configuration options to support the different downloadmethods. <XREF LINKEND="user-guide-download-methods"> summarizes theways in which an <productname>eCos</productname> image can be prepared for different types ofdownload. This is not an exhaustive list, some targets defineadditional start-up types of their own. Where a ROM Monitor ismentioned, this will usually be RedBoot, although on some older, orlow resource, targets you may need to use CygMon or the GDB stubs ROM,see the target documentation for details.</PARA><TABLE id="user-guide-download-methods"><TITLE>Configuration for various download methods</TITLE><TGROUP COLS="2"><THEAD><ROW><ENTRY>Download method</ENTRY><ENTRY>HAL configuration</ENTRY></ROW></THEAD><TBODY><ROW><ENTRY>Burn hardware ROM</ENTRY><ENTRY>&nbsp;ROM or ROMRAM start-up</ENTRY></ROW><ROW><ENTRY>Download to ROM emulator</ENTRY><ENTRY>&nbsp;ROM or ROMRAM start-up</ENTRY></ROW><ROW><ENTRY>Download to board with ROM Monitor</ENTRY><ENTRY>&nbsp;RAM start-up</ENTRY></ROW><ROW><ENTRY>Download to simulator without ROM Monitor</ENTRY><ENTRY>&nbsp;ROM start-up</ENTRY></ROW><ROW><ENTRY>Download to simulator with ROM Monitor</ENTRY><ENTRY>&nbsp;RAM start-up</ENTRY></ROW><ROW><ENTRY>Download to simulator ignoring devices</ENTRY><ENTRY>&nbsp;SIM configuration</ENTRY></ROW><ROW><ENTRY>Run synthetic target</ENTRY><ENTRY>&nbsp;RAM start-up</ENTRY></ROW></TBODY></TGROUP></TABLE><CAUTION><PARA>You cannot run an application configured for RAM start-upon the simulator directly: it will fail during start-up. You canonly download it to the simulator ifyou are already running RedBoot in the simulator,as described in the toolchain documentationor you load through the <EMPHASIS>SID </EMPHASIS>GDB debugging component.  This is not the same as the simulatedstub, since it does not require a target program to be running toget GDB to talk to it.  It can be done before letting the simulatorrunor you use the ELF loader component to get a program into memory.</PARA></CAUTION><!-- <label> --><!-- <conditionaltext> --><!-- NOTE</label> --><NOTE><PARA>Configuring <productname>eCos</productname>' HAL package for simulation shouldrarely be needed for real development; binaries built with sucha kernel will not run on target boards at all,<!-- <conditionaltext> -->and the MN10300 andTX39 simulators can run binaries built for stdeval1 and jmr3904target boards.The main use for a ``simulation'' configurationis if you are trying to work around problems with the device driversor with the simulator.  Also note that when using a TX39 system configuredfor simulator start-up you should then invoke the simulator with the <OPTION>--board=jmr3904pal</OPTION>option instead of <OPTION>--board=jmr3904</OPTION><!-- <conditionaltext> --></PARA></NOTE><NOTE><PARA>If your chosen architecture does not have simulator support,then the combinations above that refer to the simulator do not apply.Similarly, if your chosen platform does not have RedBootROM support, the combinations listed above that use RedBoot do not apply.</PARA></NOTE><PARA>The debugging environment for most developers will be eithera hardware board or the simulator, in which case they will be ableto select a single HAL configuration.</PARA></SECT1><!-- ==================================================== --><SECT1 id="using-configtool-windows-linux"><TITLE><!-- <index></index> -->Configuration Tool on Windows and Linux Quick Start</TITLE><PARA><!-- <conditionaltext> --> This section described the GUI based configuration tool. Thistool is probably more suited to users who prefer GUI's. The nextsection describes a CLI based tool which Unix users mayprefer. </PARA><PARA>Note that the use of the <application>Configuration Tool</application>is described in detail in <XREFLINKEND="THE-ECOS-CONFIGURATION-TOOL">.</PARA><PARA>The <application>Configuration Tool</application> (see <XREF LINKEND="PROGRAMMING-FIGURE-CONFIGURATION-TOOL">)has five main elements: the <EMPHASIS>configuration window</EMPHASIS>,the <emphasis>conflicts window</emphasis>,the <EMPHASIS>properties window</EMPHASIS>, the <!-- <xref> --><EMPHASIS>shortdescription window</EMPHASIS>,and the <EMPHASIS>output window</EMPHASIS>.</PARA><FIGURE ID="PROGRAMMING-FIGURE-CONFIGURATION-TOOL"><TITLE>Configuration Tool</TITLE><!-- <xref> --><GRAPHIC ENTITYREF="programming-graphic1"></GRAPHIC></FIGURE><PARA>Start by opening the templates window via <GUIMENUITEM>Build-&#62;Templates</GUIMENUITEM>.Select the desired target (see <XREF LINKEND="FIGURE-TEMPLATE-SELECTION">).</PARA><FIGURE ID="FIGURE-TEMPLATE-SELECTION"><TITLE>Template selection</TITLE><!-- <xref> --><GRAPHIC ENTITYREF="programming-graphic2"></GRAPHIC></FIGURE><PARA>Make sure that the configuration is correct for the targetin terms of endianness, CPU model, Startup type, etc. (see <XREF LINKEND="CONFIGURING-FOR-THE-TARGET">).</PARA>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精久久久久久久久久久| 午夜免费欧美电影| 91污片在线观看| 麻豆精品在线看| 亚洲第一综合色| 亚洲男帅同性gay1069| 久久久国产精华| 欧美一级欧美三级| 欧美日韩国产综合一区二区三区 | 国产揄拍国内精品对白| 亚洲国产美女搞黄色| 伊人夜夜躁av伊人久久| 亚洲激情图片小说视频| 黄网站免费久久| 国产电影一区在线| 国产成人综合在线播放| 欧美日本视频在线| 亚洲激情第一区| 成人精品免费视频| 午夜久久电影网| 不卡av在线网| 中文字幕电影一区| 中文字幕一区二区在线观看 | 欧美成人高清电影在线| 在线观看亚洲一区| 欧美日韩在线不卡| 日韩视频中午一区| 26uuuu精品一区二区| 国产精品国产三级国产a| 一区二区三区在线视频观看| 一区二区三区蜜桃| 99精品视频在线观看免费| 日本乱人伦一区| 欧美一区二区三区视频免费| 亚洲一区二区综合| 国产传媒日韩欧美成人| 精品国一区二区三区| 国产精品久久久久一区二区三区 | 日韩一区二区免费在线电影| 日韩电影在线观看一区| 国产一本一道久久香蕉| 久久午夜色播影院免费高清| 久久99精品久久久| 久久这里只有精品首页| 国产黄色91视频| 亚洲国产经典视频| 不卡av电影在线播放| 国产精品久久久一区麻豆最新章节| 国产一区不卡在线| 欧美激情一区二区三区| 风间由美性色一区二区三区| 在线电影欧美成精品| 中文字幕中文字幕中文字幕亚洲无线| 国产91精品精华液一区二区三区 | 日韩视频在线你懂得| 久久9热精品视频| 色悠悠久久综合| 精品福利一二区| 国产乱淫av一区二区三区| 欧美无砖砖区免费| 国产精品初高中害羞小美女文| 波多野结衣亚洲| 久久久久亚洲综合| 91亚洲大成网污www| 亚洲h在线观看| 日韩精品一区在线观看| 亚洲一二三级电影| 欧美一区二区大片| 国产成人亚洲精品青草天美| 国产精品高潮呻吟| 69av一区二区三区| 亚洲bdsm女犯bdsm网站| 精品sm捆绑视频| 91丨国产丨九色丨pron| 日韩精品91亚洲二区在线观看| 一本大道综合伊人精品热热| 天天综合网天天综合色| 国产精品―色哟哟| eeuss国产一区二区三区| 亚洲超碰97人人做人人爱| 精品欧美黑人一区二区三区| 色综合久久天天| 国产一区不卡在线| 午夜精品成人在线| 国产精品视频麻豆| 欧美tk丨vk视频| 91精品福利视频| 国产精品影视在线| 丝袜亚洲精品中文字幕一区| 欧美国产欧美亚州国产日韩mv天天看完整| 欧美午夜在线观看| 成人app网站| 久久av中文字幕片| 爽爽淫人综合网网站| 亚洲日本丝袜连裤袜办公室| 91丨九色porny丨蝌蚪| 国产一区二区不卡| 免费看黄色91| 精品区一区二区| 欧美日本一区二区三区四区 | 欧美国产日本视频| 精品捆绑美女sm三区| 欧美日韩亚洲另类| 91麻豆免费观看| 成人午夜激情影院| 国产精品亚洲一区二区三区在线| 美女在线视频一区| 日韩精彩视频在线观看| 一区二区日韩av| 亚洲免费av高清| 亚洲色图视频网| 中文字幕人成不卡一区| 中文字幕欧美三区| 国产欧美精品一区二区色综合 | 韩国三级中文字幕hd久久精品| 亚洲大片在线观看| 亚洲精品久久久蜜桃| 亚洲女人小视频在线观看| 国产精品成人免费精品自在线观看 | 日韩欧美成人一区二区| 欧美妇女性影城| 91精品国产福利在线观看 | 99热这里都是精品| 成人精品亚洲人成在线| 国产精品1区二区.| 成人性色生活片免费看爆迷你毛片| 国内精品视频666| 国产乱子伦视频一区二区三区 | 亚洲柠檬福利资源导航| 亚洲男女毛片无遮挡| 亚洲欧美日韩精品久久久久| 亚洲乱码国产乱码精品精小说 | 色婷婷国产精品| 欧美午夜视频网站| 欧美美女直播网站| 久久综合色播五月| 亚洲国产高清aⅴ视频| 亚洲免费观看视频| 亚洲五码中文字幕| 麻豆极品一区二区三区| 激情六月婷婷综合| 成人av网在线| 在线中文字幕一区| 91精品久久久久久蜜臀| 精品免费日韩av| 国产精品热久久久久夜色精品三区| 国产精品国产三级国产| 午夜精品久久久久久久久久| 美美哒免费高清在线观看视频一区二区| 麻豆精品视频在线| 色综合天天综合狠狠| 东方欧美亚洲色图在线| 色婷婷精品久久二区二区蜜臂av| 欧美福利视频一区| 国产精品久久久久久久久快鸭 | 老司机午夜精品99久久| 成人毛片老司机大片| 欧美精品三级日韩久久| 日本一区二区动态图| 日韩av成人高清| 93久久精品日日躁夜夜躁欧美| 51精品视频一区二区三区| 中文字幕第一区综合| 偷拍自拍另类欧美| 成a人片国产精品| 日韩欧美电影在线| 亚洲一区在线视频| 国产麻豆精品视频| 欧美精品久久久久久久多人混战| 久久久久久久电影| 五月天国产精品| 91在线国产福利| 久久精品欧美日韩| 日本一区二区久久| 久久99国产精品免费网站| 色综合久久精品| 国产欧美一区二区精品秋霞影院| 亚洲成人动漫一区| 色婷婷综合久久久中文一区二区| xnxx国产精品| 蜜臀a∨国产成人精品| 欧洲在线/亚洲| 日韩理论片一区二区| 国产盗摄女厕一区二区三区| 在线不卡中文字幕| 亚洲一区在线观看免费| 91在线视频观看| 国产精品日产欧美久久久久| 国产精品自产自拍| 欧美精品一区二区三区蜜桃 | 久久久精品tv| 老司机午夜精品| 3d成人动漫网站| 天天影视网天天综合色在线播放| 99综合影院在线| 亚洲国产激情av| av一区二区三区| 国产精品久久久久aaaa| 成人中文字幕电影| 国产午夜精品在线观看|