亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
7777女厕盗摄久久久| 成人黄色软件下载| 亚洲成在人线免费| 亚洲高清视频中文字幕| 亚洲大片精品永久免费| 午夜精品免费在线| 免费成人在线视频观看| 男人的天堂亚洲一区| 久久精品国产精品青草| 蜜桃精品视频在线| 国产成人在线电影| 波多野结衣在线一区| 色视频欧美一区二区三区| 欧美在线视频全部完| 欧美二区三区的天堂| 日韩久久久精品| 国产精品久久久久永久免费观看| 亚洲人妖av一区二区| 亚洲成人午夜影院| 精品在线观看视频| kk眼镜猥琐国模调教系列一区二区| 91在线看国产| 欧美性高清videossexo| 欧美精品一区二区三| 中文字幕一区二区不卡 | 久久女同精品一区二区| 国产精品丝袜在线| 天天综合天天做天天综合| 国产主播一区二区三区| 91麻豆自制传媒国产之光| 欧美一级在线观看| 亚洲国产精品ⅴa在线观看| 亚洲国产综合人成综合网站| 国产在线精品一区二区| 欧美中文字幕一二三区视频| 精品动漫一区二区三区在线观看 | 在线亚洲人成电影网站色www| 欧美久久一二区| 国产欧美日韩麻豆91| 日韩制服丝袜av| 99久久久久久| 日韩精品一区二区三区在线观看 | 亚洲精品欧美综合四区| 男男视频亚洲欧美| 91影视在线播放| 久久网这里都是精品| 亚洲伊人色欲综合网| 国产成人免费xxxxxxxx| 91精品国产91久久久久久最新毛片 | 久久蜜桃av一区二区天堂| 亚洲成av人片在www色猫咪| 国产**成人网毛片九色| 日韩欧美国产一区在线观看| 亚洲激情第一区| 国产盗摄一区二区三区| 日韩欧美高清dvd碟片| 亚洲成人综合视频| 欧美最猛性xxxxx直播| 国产精品天美传媒| 国产精品一区二区三区99| 欧美一区二区三级| 视频一区视频二区中文字幕| 91国模大尺度私拍在线视频| 亚洲欧美中日韩| 成人少妇影院yyyy| 国产精品视频免费看| 国产精品99久久久久久久vr| 久久―日本道色综合久久| 老司机免费视频一区二区三区| 91精品国产入口| 丝袜亚洲另类丝袜在线| 精品视频1区2区| 日本不卡一区二区三区高清视频| 欧美高清激情brazzers| 亚洲成人激情自拍| 欧美精选午夜久久久乱码6080| 亚州成人在线电影| 欧美人动与zoxxxx乱| 首页综合国产亚洲丝袜| 777久久久精品| 国产揄拍国内精品对白| 337p粉嫩大胆色噜噜噜噜亚洲 | 五月天久久比比资源色| 欧美精品一二三区| 精品亚洲成a人在线观看| 2024国产精品| 成人高清视频在线| 一区二区三区日韩精品| 欧美日韩在线播放三区四区| 蜜桃一区二区三区四区| 久久久久国产免费免费| 99久久99精品久久久久久| 一区二区三区资源| 欧美一级片免费看| 国精品**一区二区三区在线蜜桃| 久久久激情视频| 一本色道亚洲精品aⅴ| 亚洲丶国产丶欧美一区二区三区| 欧美一区二区三区在线视频| 国产在线视频一区二区| 国产精品三级在线观看| 在线观看日韩精品| 亚洲国产精品久久不卡毛片| 日韩欧美成人一区| 色综合久久综合网97色综合 | 亚洲精品自拍动漫在线| 在线电影一区二区三区| 国产成人精品影院| 亚洲福中文字幕伊人影院| 精品成人私密视频| 色综合久久九月婷婷色综合| 美女看a上一区| 亚洲人一二三区| 久久久久国产精品人| 色噜噜狠狠成人网p站| 国产综合一区二区| 一卡二卡欧美日韩| 亚洲国产精品av| 日韩你懂的在线观看| 色综合久久中文字幕| 国产一区二区看久久| 五月婷婷激情综合| 一区二区三区四区高清精品免费观看 | 99久久国产综合精品色伊| 免费日本视频一区| 亚洲与欧洲av电影| 国产精品福利一区| 精品福利一二区| 日韩视频中午一区| 欧美日韩精品一区二区天天拍小说| 粉嫩aⅴ一区二区三区四区 | 亚洲成va人在线观看| 亚洲乱码中文字幕| 国产精品午夜在线| 2023国产一二三区日本精品2022| 制服丝袜亚洲色图| 91精品一区二区三区在线观看| 91福利社在线观看| 色综合欧美在线视频区| 99re热这里只有精品免费视频| 国产一区二区不卡在线| 久久国产精品99精品国产| 日韩福利电影在线| 性做久久久久久免费观看| 亚洲男人天堂一区| 亚洲精品免费视频| 亚洲欧美一区二区不卡| 亚洲色图欧洲色图| 亚洲人成7777| 一区二区三区四区精品在线视频| 亚洲日本电影在线| 一区二区三区在线观看欧美| 亚洲人成网站精品片在线观看| 中文字幕中文字幕一区| 亚洲欧洲精品成人久久奇米网| 亚洲国产经典视频| 国产精品区一区二区三| 亚洲免费三区一区二区| 亚洲欧美一区二区三区孕妇| 亚洲精品乱码久久久久久| 亚洲精品日产精品乱码不卡| 午夜精品久久久久久不卡8050| 午夜精品久久久久久久久久| 日本不卡一区二区| 中文字幕第一区| 亚洲天堂精品视频| 中文字幕中文字幕在线一区 | 日韩精品一区二区三区在线 | 高清av一区二区| 久久精品国产99久久6| 久久国产日韩欧美精品| 国产91精品欧美| 一本色道久久综合亚洲aⅴ蜜桃| 欧美在线视频不卡| 日韩一区二区三区四区五区六区| 26uuu亚洲综合色欧美| ●精品国产综合乱码久久久久| 一区二区三区四区亚洲| 精品一区二区三区在线播放视频| 国产成人三级在线观看| 色婷婷综合视频在线观看| 欧美一级日韩免费不卡| 久久久久88色偷偷免费| 中文字幕亚洲在| 日韩在线a电影| 成人激情免费视频| 欧美人成免费网站| 国产精品亲子伦对白| 日本亚洲天堂网| 波多野结衣在线aⅴ中文字幕不卡| 欧美伦理电影网| 国产精品久久久久久久久免费相片| 亚洲一区二区欧美| 福利一区二区在线观看| 在线观看91av| 最新成人av在线| 国产剧情一区二区三区| 欧美精品久久一区| 亚洲三级免费观看| 国产69精品久久久久毛片|