]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/io/common/v2_0/cdl/io.cdl
Initial revision
[karo-tx-redboot.git] / packages / io / common / v2_0 / cdl / io.cdl
1 # ====================================================================
2 #
3 #      io.cdl
4 #
5 #      eCos IO configuration data
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
12 ##
13 ## eCos is free software; you can redistribute it and/or modify it under
14 ## the terms of the GNU General Public License as published by the Free
15 ## Software Foundation; either version 2 or (at your option) any later version.
16 ##
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20 ## for more details.
21 ##
22 ## You should have received a copy of the GNU General Public License along
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25 ##
26 ## As a special exception, if other files instantiate templates or use macros
27 ## or inline functions from this file, or you compile this file and link it
28 ## with other works to produce a work based on this file, this file does not
29 ## by itself cause the resulting work to be covered by the GNU General Public
30 ## License. However the source code for this file must still be made available
31 ## in accordance with section (3) of the GNU General Public License.
32 ##
33 ## This exception does not invalidate any other reasons why a work based on
34 ## this file might be covered by the GNU General Public License.
35 ##
36 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37 ## at http://sources.redhat.com/ecos/ecos-license/
38 ## -------------------------------------------
39 #####ECOSGPLCOPYRIGHTEND####
40 # ====================================================================
41 ######DESCRIPTIONBEGIN####
42 #
43 # Author(s):      jskov
44 # Original data:  gthomas
45 # Contributors:
46 # Date:           1999-07-07
47 #
48 #####DESCRIPTIONEND####
49 #
50 # ====================================================================
51
52 cdl_package CYGPKG_IO {
53     display       "I/O sub-system"
54     doc           ref/io.html
55     include_dir   cyg/io
56     requires      CYGPKG_ERROR
57     description   "
58         The eCos system is supplied with a number of different
59         device drivers.  This option enables the basic I/O system
60         support which is the basis for all drivers."
61
62     compile       -library=libextras.a ioinit.cxx
63     compile       iosys.c
64
65  
66     cdl_option CYGDBG_IO_INIT {
67         display       "Debug I/O sub-system"
68         default_value 0
69         description   "
70             This option enables verbose messages to be displayed on the
71             system 'diag' device during I/O system initialization."
72    }
73
74    cdl_component CYGPKG_IO_FILE_SUPPORT {
75        display    "Basic support for file based I/O"
76        active_if  !CYGPKG_IO_FILEIO
77        default_value 1       
78        description "
79            This option control support for simple file I/O primitives. It is only
80            present if the FILEIO package is not included."
81
82        compile       io_file.c
83
84        cdl_option CYGPKG_IO_NFILE {
85            display "Number of open files"
86            flavor  data
87            default_value 16
88            description   "
89                This option controls the number of open files."
90        }
91     }
92 }