comparison packages/devs/disk/synth/current/cdl/synthdisk.cdl @ 1476:f2453fae08d4

Added support for FAT filesystem. Several packages, see the individual ChangeLogs for details.
author nickg
date Mon, 19 Jan 2004 14:35:01 +0000
parents
children
comparison
equal deleted inserted replaced
1475:c9e09b1c18cb 1476:f2453fae08d4
1 # ====================================================================
2 #
3 # synthdisk.cdl
4 #
5 # Synthetic target disk package.
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 2003 Savin Zlobec
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 ## -------------------------------------------
37 #####ECOSGPLCOPYRIGHTEND####
38 # ====================================================================
39 ######DESCRIPTIONBEGIN####
40 #
41 # Author(s): savin
42 # Contributors:
43 # Date: 2003-06-18
44 #
45 #####DESCRIPTIONEND####
46 # ====================================================================
47
48 cdl_package CYGPKG_DEVS_DISK_ECOSYNTH {
49 display "Synthetic target disk driver"
50
51 parent CYGPKG_IO_DISK_DEVICES
52 active_if CYGPKG_IO_DISK
53 active_if CYGPKG_HAL_SYNTH
54
55 cdl_component CYGVAR_DEVS_DISK_ECOSYNTH_DISK0 {
56 display "Provide disk 0 device"
57 flavor bool
58 default_value 0
59 description "Synthetic disk 0 driver."
60
61 cdl_option CYGDAT_IO_DISK_ECOSYNTH_DISK0_NAME {
62 display "Device name for ecosynth disk 0 device"
63 flavor data
64 default_value {"\"/dev/disk0/\""}
65 description "This is the device name used to access this
66 device in eCos. Note that the trailing slash
67 character must be present."
68 }
69
70 cdl_option CYGDAT_IO_DISK_ECOSYNTH_DISK0_FILENAME {
71 display "Linux file name for ecosynth disk 0 device"
72 flavor data
73 default_value {"\"disk0.img\""}
74 description "This is the name of the file in the Linux filesystem that
75 the driver will use to simulate a real disk. It should have
76 been formatted with a DOS filesystem image before being used.
77 The driver may also be pointed at real devices. For example
78 setting this option to \"/dev/fd\" will cause the driver to access
79 any real floppy disk inserted in the host's floppy drive."
80 }
81
82 cdl_option CYGNUM_IO_DISK_ECOSYNTH_DISK0_SIZE {
83 display "Size in bytes for ecosynth disk 0"
84 flavor data
85 default_value 10240000
86 legal_values 512 to 99999999
87 requires { (CYGNUM_IO_DISK_ECOSYNTH_DISK0_SIZE % 512) == 0 }
88 description "
89 This option specifies the size in bytes used
90 for the ecosynth disk 0 device."
91 }
92
93 cdl_option CYGIMP_IO_DISK_ECOSYNTH_DISK0_MBR {
94 display "Expect MBR in synth disk 0 image"
95 flavor bool
96 default_value 0
97 description "
98 This option controls the scanning of MBR in synthetic
99 disk 0 image."
100 }
101
102 cdl_option CYGIMP_IO_DISK_ECOSYNTH_DISK0_CYLINDERS {
103 display "Number of cylinders on synth disk 0"
104 flavor data
105 default_value 0
106 active_if CYGIMP_IO_DISK_ECOSYNTH_DISK0_MBR
107 description "
108 This option controls the number of cylinders on
109 synthetic disk 0. It is only needed if
110 CYGIMP_IO_DISK_ECOSYNTH_DISK0_MBR is set."
111 }
112
113 cdl_option CYGIMP_IO_DISK_ECOSYNTH_DISK0_HEADS {
114 display "Number of heads on synth disk 0"
115 flavor data
116 default_value 0
117 active_if CYGIMP_IO_DISK_ECOSYNTH_DISK0_MBR
118 description "
119 This option controls the number of heads on
120 synthetic disk 0. It is only needed if
121 CYGIMP_IO_DISK_ECOSYNTH_DISK0_MBR is set."
122 }
123
124 cdl_option CYGIMP_IO_DISK_ECOSYNTH_DISK0_SECTORS {
125 display "Number of sectors per track on synth disk 0"
126 flavor data
127 default_value 0
128 active_if CYGIMP_IO_DISK_ECOSYNTH_DISK0_MBR
129 description "
130 This option controls the number of sectors per track on
131 synthetic disk 0.It is only needed if
132 CYGIMP_IO_DISK_ECOSYNTH_DISK0_MBR is set."
133 }
134 }
135
136 cdl_component CYGPKG_DEVS_DISK_ECOSYNTH_OPTIONS {
137 display "Build options"
138 active_if { CYGVAR_DEVS_DISK_ECOSYNTH_DISK0 }
139 flavor none
140 compile -library=libextras.a synthdisk.c
141 description "
142 Package-specific build options including control over compiler
143 flags used only in building this package."
144
145 cdl_option CYGPKG_DEVS_DISK_ECOSYNTH_CFLAGS_ADD {
146 display "Additional compiler flags"
147 flavor data
148 no_define
149 default_value { "" }
150 description "
151 This option modifies the set of compiler flags for
152 building this package. These flags are used in addition
153 to the set of global flags."
154 }
155 cdl_option CYGPKG_DEVS_DISK_ECOSYNTH_CFLAGS_REMOVE {
156 display "Suppressed compiler flags"
157 flavor data
158 no_define
159 default_value { "" }
160 description "
161 This option modifies the set of compiler flags for
162 building this package. These flags are removed from
163 the set of global flags if present."
164 }
165 }
166 }