<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- permission is obtained from the copyright holder. -->
|
<!-- permission is obtained from the copyright holder. -->
|
<HTML
|
<HTML
|
><HEAD
|
><HEAD
|
><TITLE
|
><TITLE
|
>The eCos Kernel</TITLE
|
>The eCos Kernel</TITLE
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
<META
|
<META
|
NAME="GENERATOR"
|
NAME="GENERATOR"
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
"><LINK
|
"><LINK
|
REL="HOME"
|
REL="HOME"
|
TITLE="eCos Reference Manual"
|
TITLE="eCos Reference Manual"
|
HREF="ecos-ref.html"><LINK
|
HREF="ecos-ref.html"><LINK
|
REL="PREVIOUS"
|
REL="PREVIOUS"
|
TITLE="eCos Reference Manual"
|
TITLE="eCos Reference Manual"
|
HREF="ecos-ref.html"><LINK
|
HREF="ecos-ref.html"><LINK
|
REL="NEXT"
|
REL="NEXT"
|
TITLE="Kernel Overview"
|
TITLE="Kernel Overview"
|
HREF="kernel-overview.html"></HEAD
|
HREF="kernel-overview.html"></HEAD
|
><BODY
|
><BODY
|
CLASS="PART"
|
CLASS="PART"
|
BGCOLOR="#FFFFFF"
|
BGCOLOR="#FFFFFF"
|
TEXT="#000000"
|
TEXT="#000000"
|
LINK="#0000FF"
|
LINK="#0000FF"
|
VLINK="#840084"
|
VLINK="#840084"
|
ALINK="#0000FF"
|
ALINK="#0000FF"
|
><DIV
|
><DIV
|
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
><TABLE
|
><TABLE
|
SUMMARY="Header navigation table"
|
SUMMARY="Header navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TH
|
><TH
|
COLSPAN="3"
|
COLSPAN="3"
|
ALIGN="center"
|
ALIGN="center"
|
>eCos Reference Manual</TH
|
>eCos Reference Manual</TH
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="ecos-ref.html"
|
HREF="ecos-ref.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="80%"
|
WIDTH="80%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="kernel-overview.html"
|
HREF="kernel-overview.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
><DIV
|
><DIV
|
CLASS="PART"
|
CLASS="PART"
|
><A
|
><A
|
NAME="KERNEL"><DIV
|
NAME="KERNEL"><DIV
|
CLASS="TITLEPAGE"
|
CLASS="TITLEPAGE"
|
><H1
|
><H1
|
CLASS="TITLE"
|
CLASS="TITLE"
|
>I. The eCos Kernel</H1
|
>I. The eCos Kernel</H1
|
><DIV
|
><DIV
|
CLASS="TOC"
|
CLASS="TOC"
|
><DL
|
><DL
|
><DT
|
><DT
|
><B
|
><B
|
>Table of Contents</B
|
>Table of Contents</B
|
></DT
|
></DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-overview.html"
|
HREF="kernel-overview.html"
|
>Kernel Overview</A
|
>Kernel Overview</A
|
> -- Overview of the eCos Kernel</DT
|
> -- Overview of the eCos Kernel</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-smp.html"
|
HREF="kernel-smp.html"
|
>SMP Support</A
|
>SMP Support</A
|
> -- Support Symmetric Multiprocessing Systems</DT
|
> -- Support Symmetric Multiprocessing Systems</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-thread-create.html"
|
HREF="kernel-thread-create.html"
|
>Thread creation</A
|
>Thread creation</A
|
> -- Create a new thread</DT
|
> -- Create a new thread</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-thread-info.html"
|
HREF="kernel-thread-info.html"
|
>Thread information</A
|
>Thread information</A
|
> -- Get basic thread information</DT
|
> -- Get basic thread information</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-thread-control.html"
|
HREF="kernel-thread-control.html"
|
>Thread control</A
|
>Thread control</A
|
> -- Control whether or not a thread is running</DT
|
> -- Control whether or not a thread is running</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-thread-termination.html"
|
HREF="kernel-thread-termination.html"
|
>Thread termination</A
|
>Thread termination</A
|
> -- Allow threads to terminate</DT
|
> -- Allow threads to terminate</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-thread-priorities.html"
|
HREF="kernel-thread-priorities.html"
|
>Thread priorities</A
|
>Thread priorities</A
|
> -- Examine and manipulate thread priorities</DT
|
> -- Examine and manipulate thread priorities</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-thread-data.html"
|
HREF="kernel-thread-data.html"
|
>Per-thread data</A
|
>Per-thread data</A
|
> -- Manipulate per-thread data</DT
|
> -- Manipulate per-thread data</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-thread-destructors.html"
|
HREF="kernel-thread-destructors.html"
|
>Thread destructors</A
|
>Thread destructors</A
|
> -- Call functions on thread termination</DT
|
> -- Call functions on thread termination</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-exceptions.html"
|
HREF="kernel-exceptions.html"
|
>Exception handling</A
|
>Exception handling</A
|
> -- Handle processor exceptions</DT
|
> -- Handle processor exceptions</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-counters.html"
|
HREF="kernel-counters.html"
|
>Counters</A
|
>Counters</A
|
> -- Count event occurrences</DT
|
> -- Count event occurrences</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-clocks.html"
|
HREF="kernel-clocks.html"
|
>Clocks</A
|
>Clocks</A
|
> -- Provide system clocks</DT
|
> -- Provide system clocks</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-alarms.html"
|
HREF="kernel-alarms.html"
|
>Alarms</A
|
>Alarms</A
|
> -- Run an alarm function when a number of events have occurred</DT
|
> -- Run an alarm function when a number of events have occurred</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-mutexes.html"
|
HREF="kernel-mutexes.html"
|
>Mutexes</A
|
>Mutexes</A
|
> -- Synchronization primitive</DT
|
> -- Synchronization primitive</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-condition-variables.html"
|
HREF="kernel-condition-variables.html"
|
>Condition Variables</A
|
>Condition Variables</A
|
> -- Synchronization primitive</DT
|
> -- Synchronization primitive</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-semaphores.html"
|
HREF="kernel-semaphores.html"
|
>Semaphores</A
|
>Semaphores</A
|
> -- Synchronization primitive</DT
|
> -- Synchronization primitive</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-mail-boxes.html"
|
HREF="kernel-mail-boxes.html"
|
>Mail boxes</A
|
>Mail boxes</A
|
> -- Synchronization primitive</DT
|
> -- Synchronization primitive</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-flags.html"
|
HREF="kernel-flags.html"
|
>Event Flags</A
|
>Event Flags</A
|
> -- Synchronization primitive</DT
|
> -- Synchronization primitive</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-spinlocks.html"
|
HREF="kernel-spinlocks.html"
|
>Spinlocks</A
|
>Spinlocks</A
|
> -- Low-level Synchronization Primitive</DT
|
> -- Low-level Synchronization Primitive</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-schedcontrol.html"
|
HREF="kernel-schedcontrol.html"
|
>Scheduler Control</A
|
>Scheduler Control</A
|
> -- Control the state of the scheduler</DT
|
> -- Control the state of the scheduler</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-interrupts.html"
|
HREF="kernel-interrupts.html"
|
>Interrupt Handling</A
|
>Interrupt Handling</A
|
> -- Manage interrupt handlers</DT
|
> -- Manage interrupt handlers</DT
|
><DT
|
><DT
|
><A
|
><A
|
HREF="kernel-characterization.html"
|
HREF="kernel-characterization.html"
|
>Kernel Real-time Characterization</A
|
>Kernel Real-time Characterization</A
|
> -- Measure the performance of the eCos kernel</DT
|
> -- Measure the performance of the eCos kernel</DT
|
></DL
|
></DL
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
SUMMARY="Footer navigation table"
|
SUMMARY="Footer navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="ecos-ref.html"
|
HREF="ecos-ref.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="ecos-ref.html"
|
HREF="ecos-ref.html"
|
ACCESSKEY="H"
|
ACCESSKEY="H"
|
>Home</A
|
>Home</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="kernel-overview.html"
|
HREF="kernel-overview.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
>eCos Reference Manual</TD
|
>eCos Reference Manual</TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
> </TD
|
> </TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
>Kernel Overview</TD
|
>Kernel Overview</TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
></BODY
|
></BODY
|
></HTML
|
></HTML
|
|
|