⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ecos-ref.html

📁 ecos3.0 beta 的官方文档,html格式
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<!-- Copyright (C) 2009 Free Software Foundation, 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 is obtained from the copyright holder.               -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>eCos Reference Manual</TITLE
><meta name="MSSmartTagsPreventParsing" content="TRUE">
<META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="NEXT"
TITLE="The eCos Kernel"
HREF="kernel.html"></HEAD
><BODY
CLASS="BOOK"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="BOOK"
><A
NAME="ECOS-REF"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN2"
>eCos Reference Manual</A
></H1
><P
CLASS="COPYRIGHT"
>Copyright &copy; 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.</P
><DIV
CLASS="LEGALNOTICE"
><A
NAME="AEN17"
></A
><P
><B
>Documentation licensing terms</B
></P
><P
>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
<A
HREF="http://www.opencontent.org/openpub/"
TARGET="_top"
>http://www.opencontent.org/openpub/</A
>).</P
><P
>Distribution of substantively modified versions of this
document is prohibited without the explicit permission of the
copyright holder.</P
><P
>Distribution of the work or derivative of the work in any
standard (paper) book form is prohibited unless prior
permission is obtained from the copyright holder.</P
></DIV
><DIV
CLASS="LEGALNOTICE"
><A
NAME="AEN23"
></A
><P
><B
>Trademarks</B
></P
><P
>Altera&reg; and Excalibur&#8482; are trademarks of Altera Corporation.</P
><P
>AMD&reg; is a registered trademark of Advanced Micro Devices, Inc.</P
><P
>ARM&reg;, StrongARM&reg;, Thumb&reg;, ARM7&#8482;, ARM9&#8482;  is a registered trademark of Advanced RISC Machines, Ltd.</P
><P
>Cirrus Logic&reg; and Maverick&#8482; are registered trademarks of Cirrus Logic, Inc.</P
><P
>Cogent&#8482; is a trademark of Cogent Computer Systems, Inc.</P
><P
>Compaq&reg; is a registered trademark of the Compaq Computer Corporation.</P
><P
>Fujitsu&reg; is a registered trademark of Fujitsu Limited.</P
><P
>IBM&reg;, and PowerPC&#8482; are trademarks of International Business Machines Corporation.</P
><P
>IDT&reg; is a registered trademark of Integrated Device Technology Inc.</P
><P
>Intel&reg;, i386&#8482;, Pentium&reg;, StrataFlash&reg; and XScale&#8482; are trademarks of Intel Corporation.</P
><P
>Intrinsyc&reg; and Cerf&#8482; are trademarks of Intrinsyc Software, Inc.</P
><P
>Linux&reg; is a registered trademark of Linus Torvalds. </P
><P
>Matsushita&#8482; and Panasonic&reg; are trademarks of the Matsushita Electric Industrial Corporation.</P
><P
>Microsoft&reg;, Windows&reg;, Windows NT&reg; and Windows XP&reg; are registered trademarks of Microsoft Corporation, Inc. </P
><P
>MIPS&reg;, MIPS32&#8482; MIPS64&#8482;, 4K&#8482;, 5K&#8482; Atlas&#8482; and Malta&#8482; are trademarks of MIPS Technologies, Inc.</P
><P
>Motorola&reg;, ColdFire&reg; is a trademark of Motorola, Inc.</P
><P
>NEC&reg; V800&#8482;, V850&#8482;, V850/SA1&#8482;, V850/SB1&#8482;, VR4300&#8482;, and VRC4375&#8482; are trademarks of NEC Corporation.</P
><P
>PMC-Sierra&reg; RM7000&#8482; and Ocelot&#8482; are trademarks of PMC-Sierra Incorporated. </P
><P
>Red Hat, eCos&#8482;, RedBoot&#8482;, GNUPro&reg;, and Insight&#8482; are trademarks of Red Hat, Inc. </P
><P
>Samsung&reg; and CalmRISC&#8482; are trademarks or registered trademarks of Samsung, Inc. </P
><P
>Sharp&reg; is a registered trademark of Sharp Electronics Corp.</P
><P
>SPARC&reg; is a registered trademark of SPARC International, Inc., and is used under license by Sun Microsystems, Inc. </P
><P
>Sun Microsystems&reg; and Solaris&reg; are registered trademarks of Sun Microsystems, Inc. </P
><P
>SuperH&#8482; and Renesas&#8482; are trademarks owned by Renesas Technology Corp.</P
><P
>Texas Instruments&reg;, OMAP&#8482; and Innovator&#8482; are trademarks of Texas Instruments Incorporated.</P
><P
>Toshiba&reg; is a registered trademark of the Toshiba Corporation.</P
><P
>UNIX&reg; is a registered trademark of The Open Group. </P
><P
>All other brand and product names, trademarks, and copyrights are the
property of their respective owners. </P
></DIV
><DIV
CLASS="LEGALNOTICE"
><A
NAME="AEN53"
></A
><P
><B
>Warranty</B
></P
><P
>eCos and RedBoot are open source software, covered by a
modified version of the <A
HREF="http://www.gnu.org/copyleft/gpl.html"
TARGET="_top"
>GNU
General Public Licence</A
>,
and you are welcome to change it and/or distribute copies of it under certain
conditions. See <A
HREF="http://ecos.sourceware.org/license-overview.html"
TARGET="_top"
>http://ecos.sourceware.org/license-overview.html</A
> for more information about the license.</P
><P
>eCos and RedBoot software have NO WARRANTY. </P
><P
>Because this software is licensed free of charge, there are no warranties
for it, to the extent permitted by applicable law. Except when otherwise stated
in writing, the copyright holders and/or other parties provide the software
&#8220;as is&#8221; without warranty of any kind, either expressed or implied,
including, but not limited to, the implied warranties of merchantability and
fitness for a particular purpose. The entire risk as to the quality and performance
of the software is with you. Should the software prove defective, you assume
the cost of all necessary servicing, repair or correction.</P
><P
> In no event, unless required by applicable law or agreed to in writing,
will any copyright holder, or any other party who may modify and/or redistribute
the program as permitted above, be liable to you for damages, including any
general, special, incidental or consequential damages arising out of the use
or inability to use the program (including but not limited to loss of data
or data being rendered inaccurate or losses sustained by you or third parties
or a failure of the program to operate with any other programs), even if such
holder or other party has been advised of the possibility of such damages.</P
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>I. <A
HREF="kernel.html"
>The eCos Kernel</A
></DT
><DD
><DL
><DT
><A
HREF="kernel-overview.html"
>Kernel Overview</A
>&nbsp;--&nbsp;Overview of the eCos Kernel</DT
><DT
><A
HREF="kernel-smp.html"
>SMP Support</A
>&nbsp;--&nbsp;Support Symmetric Multiprocessing Systems</DT
><DT
><A
HREF="kernel-thread-create.html"
>Thread creation</A
>&nbsp;--&nbsp;Create a new thread</DT
><DT
><A
HREF="kernel-thread-info.html"
>Thread information</A
>&nbsp;--&nbsp;Get basic thread information</DT
><DT
><A
HREF="kernel-thread-control.html"
>Thread control</A
>&nbsp;--&nbsp;Control whether or not a thread is running</DT
><DT
><A
HREF="kernel-thread-termination.html"
>Thread termination</A
>&nbsp;--&nbsp;Allow threads to terminate</DT
><DT
><A
HREF="kernel-thread-priorities.html"
>Thread priorities</A
>&nbsp;--&nbsp;Examine and manipulate thread priorities</DT
><DT
><A
HREF="kernel-thread-data.html"
>Per-thread data</A
>&nbsp;--&nbsp;Manipulate per-thread data</DT
><DT
><A
HREF="kernel-thread-destructors.html"
>Thread destructors</A
>&nbsp;--&nbsp;Call functions on thread termination</DT
><DT
><A
HREF="kernel-exceptions.html"
>Exception handling</A
>&nbsp;--&nbsp;Handle processor exceptions</DT
><DT
><A
HREF="kernel-counters.html"
>Counters</A
>&nbsp;--&nbsp;Count event occurrences</DT
><DT
><A
HREF="kernel-clocks.html"
>Clocks</A
>&nbsp;--&nbsp;Provide system clocks</DT
><DT
><A
HREF="kernel-alarms.html"
>Alarms</A
>&nbsp;--&nbsp;Run an alarm function when a number of events have occurred</DT
><DT
><A
HREF="kernel-mutexes.html"
>Mutexes</A
>&nbsp;--&nbsp;Synchronization primitive</DT
><DT
><A
HREF="kernel-condition-variables.html"
>Condition Variables</A
>&nbsp;--&nbsp;Synchronization primitive</DT
><DT
><A
HREF="kernel-semaphores.html"
>Semaphores</A
>&nbsp;--&nbsp;Synchronization primitive</DT
><DT
><A
HREF="kernel-mail-boxes.html"
>Mail boxes</A
>&nbsp;--&nbsp;Synchronization primitive</DT
><DT
><A
HREF="kernel-flags.html"
>Event Flags</A
>&nbsp;--&nbsp;Synchronization primitive</DT
><DT
><A
HREF="kernel-spinlocks.html"
>Spinlocks</A
>&nbsp;--&nbsp;Low-level Synchronization Primitive</DT
><DT
><A
HREF="kernel-schedcontrol.html"
>Scheduler Control</A
>&nbsp;--&nbsp;Control the state of the scheduler</DT
><DT
><A
HREF="kernel-interrupts.html"
>Interrupt Handling</A
>&nbsp;--&nbsp;Manage interrupt handlers</DT
><DT
><A
HREF="kernel-characterization.html"
>Kernel Real-time Characterization</A
>&nbsp;--&nbsp;Measure the performance of the eCos kernel</DT
></DL
></DD
><DT
>II. <A
HREF="the-ecos-hardware-abstraction-layer.html"
>The eCos Hardware Abstraction Layer (HAL)</A
></DT
><DD
><DL
><DT
>1. <A
HREF="hal-introduction.html"
>Introduction</A
></DT
><DT
>2. <A
HREF="hal-architecture-variant-and-platform.html"
>Architecture, Variant and Platform</A
></DT
><DT
>3. <A
HREF="hal-general-principles.html"
>General principles</A
></DT
><DT
>4. <A
HREF="hal-interfaces.html"
>HAL Interfaces</A
></DT
><DD
><DL
><DT
><A
HREF="hal-interfaces.html#HAL-BASE-DEFINITIONS"
>Base Definitions</A
></DT
><DT
><A
HREF="hal-architecture-characterization.html"
>Architecture Characterization</A
></DT
><DT
><A
HREF="hal-interrupt-handling.html"
>Interrupt Handling</A
></DT
><DT
><A
HREF="hal-clocks-and-timers.html"
>Clocks and Timers</A
></DT
><DT
><A
HREF="hal-input-and-output.html"
>HAL I/O</A
></DT
><DT
><A
HREF="hal-cache-control.html"
>Cache Control</A
></DT
><DT
><A
HREF="hal-linker-scripts.html"
>Linker Scripts</A
></DT
><DT
><A
HREF="hal-diagnostic-support.html"
>Diagnostic Support</A
></DT
><DT
><A
HREF="hal-smp-support.html"
>SMP Support</A
></DT
></DL
></DD
><DT
>5. <A
HREF="hal-exception-handling.html"
>Exception Handling</A
></DT
><DD
><DL
><DT
><A
HREF="hal-exception-handling.html#HAL-STARTUP"
>HAL Startup</A
></DT
><DT
><A
HREF="hal-vectors-and-vsrs.html"
>Vectors and VSRs</A
></DT
><DT
><A
HREF="hal-default-synchronous-exception-handling.html"
>Default Synchronous Exception Handling</A
></DT
><DT
><A
HREF="hal-default-interrupt-handling.html"
>Default Interrupt Handling</A
></DT
></DL
></DD
><DT
>6. <A
HREF="hal-porting-guide.html"
>Porting Guide</A
></DT
><DD
><DL
><DT
><A
HREF="hal-porting-guide.html#HAL-PORTING-INTRO"
>Introduction</A
></DT
><DT
><A
HREF="hal-porting-structure.html"
>HAL Structure</A
></DT
><DT
><A
HREF="hal-calling-if.html"
>Virtual Vectors (eCos/ROM Monitor Calling Interface)</A
></DT
><DT
><A
HREF="hal-porting-coding-conventions.html"
>HAL Coding Conventions</A
></DT
><DT
><A
HREF="hal-porting-platform.html"
>Platform HAL Porting</A
></DT
><DT
><A
HREF="hal-porting-variant.html"
>Variant HAL Porting</A
></DT
><DT
><A
HREF="hal-porting-architecture.html"
>Architecture HAL Porting</A
></DT
></DL
></DD
><DT
>7. <A
HREF="hal-future-developments.html"
>Future developments</A
></DT
></DL
></DD
><DT
>III. <A
HREF="libc.html"
>The ISO Standard C and Math Libraries</A
></DT
><DD
><DL
><DT
>8. <A
HREF="c-and-math-library-overview.html"
>C and math library overview</A
></DT
><DD
><DL
><DT
><A
HREF="c-and-math-library-overview.html#INCLUDE-NON-ISO-FUNCTIONS"
>Included non-ISO functions</A
></DT
><DT
><A
HREF="math-library-compatibility-modes.html"
>Math library compatibility modes</A
></DT
><DT
><A
HREF="libc-implementation-details.html"
>Some implementation details</A
></DT
><DT
><A
HREF="libc-thread-safety.html"
>Thread safety</A
></DT
><DT
><A
HREF="c-library-startup.html"
>C library startup</A
></DT
></DL
></DD
></DL
></DD
><DT
>IV. <A
HREF="io.html"
>I/O Package (Device Drivers)</A
></DT
><DD
><DL
><DT
>9. <A
HREF="io-package-intro.html"
>Introduction</A
></DT
><DT
>10. <A
HREF="io-user-api.html"
>User API</A
></DT
><DT
>11. <A
HREF="io-serial-driver-details.html"
>Serial driver details</A
></DT
><DD
><DL
><DT
><A
HREF="io-serial-driver-details.html#IO-SIMPLE-SERIAL-DRIVER"
>Raw Serial Driver</A
></DT
><DT
><A
HREF="io-tty-driver.html"
>TTY driver</A
></DT
></DL
></DD
><DT
>12. <A
HREF="io-how-to-write-a-driver.html"
>How to Write a Driver</A
></DT
><DD
><DL
><DT
><A
HREF="io-how-to-write-a-driver.html#IO-HOW-TO-WRITE-SERIAL-INTERFACE-DRIVER"
>How to Write a Serial Hardware Interface Driver</A
></DT
><DT
><A
HREF="io-serial-testing-with-serfilter.html"
>Serial testing with ser_filter</A
></DT
></DL
></DD
><DT
>13. <A
HREF="devapi-device-driver-interface-to-the-kernel.html"
>Device Driver Interface to the Kernel</A
></DT
><DD
><DL
><DT
><A
HREF="devapi-device-driver-interface-to-the-kernel.html#DEVAPI-INTERRUPT-MODEL"
>Interrupt Model</A
></DT
><DT
><A
HREF="devapi-synchronization.html"
>Synchronization</A
></DT
><DT
><A
HREF="devapi-smp-support.html"
>SMP Support</A
></DT
><DT
><A
HREF="devapi-device-driver-models.html"
>Device Driver Models</A
></DT
><DT
><A
HREF="devapi-synchronization-levels.html"
>Synchronization Levels</A
></DT
><DT
><A
HREF="devapi-api.html"
>The API</A
></DT
></DL
></DD
></DL
></DD
><DT
>V. <A
HREF="fileio.html"
>File System Support Infrastructure</A
></DT
><DD
><DL
><DT
>14. <A
HREF="fileio-intro.html"
>Introduction</A
></DT
><DT
>15. <A
HREF="fileio-fstab.html"
>File System Table</A
></DT
><DT
>16. <A
HREF="fileio-mount-table.html"
>Mount Table</A
></DT
><DT
>17. <A
HREF="fileio-file-table.html"
>File Table</A
></DT
><DT
>18. <A
HREF="fileio-directories.html"
>Directories</A
></DT
><DT
>19. <A
HREF="fileio-synchronization.html"
>Synchronization</A
></DT
><DT
>20. <A
HREF="fileio-mounting.html"
>Initialization and Mounting</A
></DT
><DT
>21. <A
HREF="fileio-sockets.html"
>Sockets</A
></DT
><DT
>22. <A
HREF="fileio-select.html"
>Select</A
></DT
><DT
>23. <A
HREF="fileio-devices.html"
>Devices</A
></DT
><DT
>24. <A
HREF="fileio-writing.html"
>Writing a New Filesystem</A
></DT
></DL
></DD
><DT
>VI. <A
HREF="io-pci.html"
>PCI Library</A
></DT
><DD
><DL
><DT
>25. <A
HREF="ecos-pci-library.html"
>The eCos PCI Library</A
></DT
><DD
><DL
><DT
><A
HREF="ecos-pci-library.html#PCI-LIBRARY"
>PCI Library</A
></DT
><DT
><A
HREF="pci-library-reference.html"
>PCI Library reference</A
></DT
></DL

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -