OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [cdl-guide/] [ref.doc.html] - Diff between revs 28 and 174

Only display areas with differences | Details | Blame | View Log

Rev 28 Rev 174
<!-- 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
>doc</TITLE
>doc</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="The eCos Component Writer's Guide"
TITLE="The eCos Component Writer's Guide"
HREF="cdl-guide.html"><LINK
HREF="cdl-guide.html"><LINK
REL="UP"
REL="UP"
TITLE="CDL Language Specification"
TITLE="CDL Language Specification"
HREF="reference.html"><LINK
HREF="reference.html"><LINK
REL="PREVIOUS"
REL="PREVIOUS"
TITLE="display"
TITLE="display"
HREF="ref.display.html"><LINK
HREF="ref.display.html"><LINK
REL="NEXT"
REL="NEXT"
TITLE="flavor"
TITLE="flavor"
HREF="ref.flavor.html"></HEAD
HREF="ref.flavor.html"></HEAD
><BODY
><BODY
CLASS="REFENTRY"
CLASS="REFENTRY"
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"
>The <SPAN
>The <SPAN
CLASS="APPLICATION"
CLASS="APPLICATION"
>eCos</SPAN
>eCos</SPAN
> Component Writer's Guide</TH
> Component Writer's Guide</TH
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="10%"
WIDTH="10%"
ALIGN="left"
ALIGN="left"
VALIGN="bottom"
VALIGN="bottom"
><A
><A
HREF="ref.display.html"
HREF="ref.display.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="ref.flavor.html"
HREF="ref.flavor.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
><H1
><H1
><A
><A
NAME="REF.DOC"><SPAN
NAME="REF.DOC"><SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>doc</SPAN
>doc</SPAN
></H1
></H1
><DIV
><DIV
CLASS="REFNAMEDIV"
CLASS="REFNAMEDIV"
><A
><A
NAME="AEN4278"
NAME="AEN4278"
></A
></A
><H2
><H2
>Name</H2
>Name</H2
>Property <SPAN
>Property <SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>doc</SPAN
>doc</SPAN
>&nbsp;--&nbsp;The location of online-documentation for a configuration option.</DIV
>&nbsp;--&nbsp;The location of online-documentation for a configuration option.</DIV
><DIV
><DIV
CLASS="REFSYNOPSISDIV"
CLASS="REFSYNOPSISDIV"
><A
><A
NAME="AEN4282"><H2
NAME="AEN4282"><H2
>Synopsis</H2
>Synopsis</H2
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SYNOPSIS"
CLASS="SYNOPSIS"
>cdl_option &lt;name&gt; {
>cdl_option &lt;name&gt; {
    doc &lt;URL;&gt;
    doc &lt;URL;&gt;
    &#8230;
    &#8230;
}</PRE
}</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
><DIV
><DIV
CLASS="REFSECT1"
CLASS="REFSECT1"
><A
><A
NAME="AEN4284"
NAME="AEN4284"
></A
></A
><H2
><H2
>Description</H2
>Description</H2
><P
><P
>Users can only be expected to manipulate configuration options
>Users can only be expected to manipulate configuration options
sensibly if they are given sufficient information about these options.
sensibly if they are given sufficient information about these options.
There are three properties which serve to explain an option in plain
There are three properties which serve to explain an option in plain
text: the <SPAN
text: the <SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>display</SPAN
>display</SPAN
> property gives a textual alias for an option,
> property gives a textual alias for an option,
which is usually more comprehensible than something like
which is usually more comprehensible than something like
<TT
<TT
CLASS="LITERAL"
CLASS="LITERAL"
>CYGPKG_LIBC_TIME_ZONES</TT
>CYGPKG_LIBC_TIME_ZONES</TT
>; the <SPAN
>; the <SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>description</SPAN
>description</SPAN
> property
> property
gives a longer description, typically a paragraph or so; the <SPAN
gives a longer description, typically a paragraph or so; the <SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>doc</SPAN
>doc</SPAN
>
>
property specifies the location of additional on-line documentation
property specifies the location of additional on-line documentation
related to a configuration option. In the context of a graphical tool
related to a configuration option. In the context of a graphical tool
the <SPAN
the <SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>display</SPAN
>display</SPAN
> string will be the primary way for users to identify
> string will be the primary way for users to identify
configuration options; the <SPAN
configuration options; the <SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>description</SPAN
>description</SPAN
> paragraph will be visible
> paragraph will be visible
whenever the option is selected; the on-line documentation will only
whenever the option is selected; the on-line documentation will only
be accessed when the user explicitly requests it.</P
be accessed when the user explicitly requests it.</P
><P
><P
>The documentation may be an absolute URL, but more generally the
>The documentation may be an absolute URL, but more generally the
on-line documentation will be shipped with the package and can be
on-line documentation will be shipped with the package and can be
accessed via a relative URL. If the package follows the <A
accessed via a relative URL. If the package follows the <A
HREF="package.html#PACKAGE.HIERARCHY"
HREF="package.html#PACKAGE.HIERARCHY"
>directory layout conventions</A
>directory layout conventions</A
> then
> then
the configuration tools will search for the specified html file
the configuration tools will search for the specified html file
first in the <TT
first in the <TT
CLASS="FILENAME"
CLASS="FILENAME"
>doc</TT
>doc</TT
> subdirectory
> subdirectory
of the package, then relative to the package directory itself. The URL
of the package, then relative to the package directory itself. The URL
may contain a <TT
may contain a <TT
CLASS="LITERAL"
CLASS="LITERAL"
>#</TT
>#</TT
> character to specify an anchor
> character to specify an anchor
within a page.</P
within a page.</P
><DIV
><DIV
CLASS="WARNING"
CLASS="WARNING"
><P
><P
></P
></P
><TABLE
><TABLE
CLASS="WARNING"
CLASS="WARNING"
BORDER="1"
BORDER="1"
WIDTH="100%"
WIDTH="100%"
><TR
><TR
><TD
><TD
ALIGN="CENTER"
ALIGN="CENTER"
><B
><B
>Warning</B
>Warning</B
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
ALIGN="LEFT"
ALIGN="LEFT"
><P
><P
>At the time of writing the <SPAN
>At the time of writing the <SPAN
CLASS="APPLICATION"
CLASS="APPLICATION"
>eCos</SPAN
>eCos</SPAN
> packages in the standard
> packages in the standard
distribution do not conform to the directory layout conventions when
distribution do not conform to the directory layout conventions when
it comes to the documentation. Instead of organizing the documentation
it comes to the documentation. Instead of organizing the documentation
on a per-package basis and placing it in the corresponding
on a per-package basis and placing it in the corresponding
<TT
<TT
CLASS="FILENAME"
CLASS="FILENAME"
>doc</TT
>doc</TT
> sub-directories, all the
> sub-directories, all the
documentation is kept in a central location. This should get addressed
documentation is kept in a central location. This should get addressed
in a future release of the system. Third party component writers
in a future release of the system. Third party component writers
should follow the layout conventions.</P
should follow the layout conventions.</P
></TD
></TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
></DIV
></DIV
><DIV
><DIV
CLASS="REFSECT1"
CLASS="REFSECT1"
><A
><A
NAME="AEN4301"
NAME="AEN4301"
></A
></A
><H2
><H2
>Example</H2
>Example</H2
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>cdl_package CYGPKG_KERNEL {
>cdl_package CYGPKG_KERNEL {
    display       "eCos kernel"
    display       "eCos kernel"
    doc           ref/ecos-ref.4.html
    doc           ref/ecos-ref.4.html
    include_dir   cyg/kernel
    include_dir   cyg/kernel
    description   "
    description   "
        This package contains the core functionality of the eCos
        This package contains the core functionality of the eCos
        kernel. It relies on functionality provided by various HAL
        kernel. It relies on functionality provided by various HAL
        packages and by the eCos infrastructure. In turn the eCos
        packages and by the eCos infrastructure. In turn the eCos
        kernel provides support for other packages such as the device
        kernel provides support for other packages such as the device
        drivers and the uITRON compatibility layer."
        drivers and the uITRON compatibility layer."
    &#8230;
    &#8230;
}</PRE
}</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
><DIV
><DIV
CLASS="REFSECT1"
CLASS="REFSECT1"
><A
><A
NAME="AEN4304"
NAME="AEN4304"
></A
></A
><H2
><H2
>See Also</H2
>See Also</H2
><P
><P
>Properties <A
>Properties <A
HREF="ref.description.html"
HREF="ref.description.html"
><SPAN
><SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>description</SPAN
>description</SPAN
></A
></A
> and
> and
<A
<A
HREF="ref.display.html"
HREF="ref.display.html"
><SPAN
><SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>display</SPAN
>display</SPAN
></A
></A
>.</P
>.</P
></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="ref.display.html"
HREF="ref.display.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="cdl-guide.html"
HREF="cdl-guide.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="ref.flavor.html"
HREF="ref.flavor.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"
><SPAN
><SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>display</SPAN
>display</SPAN
></TD
></TD
><TD
><TD
WIDTH="34%"
WIDTH="34%"
ALIGN="center"
ALIGN="center"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="reference.html"
HREF="reference.html"
ACCESSKEY="U"
ACCESSKEY="U"
>Up</A
>Up</A
></TD
></TD
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="right"
ALIGN="right"
VALIGN="top"
VALIGN="top"
><SPAN
><SPAN
CLASS="PROPERTY"
CLASS="PROPERTY"
>flavor</SPAN
>flavor</SPAN
></TD
></TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
></BODY
></BODY
></HTML
></HTML
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.