annotate packages/devs/wallclock/synth/current/cdl/wallclock_synth.cdl @ 1299:2449d74b1fa7

* cdl/wallclock_synth.cdl: * src/wallclock_synth.cxx: Implemented set_get mode.
author asl
date Sun, 12 Oct 2003 11:29:03 +0000
parents 2ac0ba640590
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1274
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
1 # ====================================================================
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
2 #
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
3 # wallclock_synth.cdl
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
4 #
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
5 # eCos synthetic wallclock
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
6 #
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
7 # ====================================================================
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
8 #####ECOSGPLCOPYRIGHTBEGIN####
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
9 ## -------------------------------------------
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
10 ## This file is part of eCos, the Embedded Configurable Operating System.
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
12 ##
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
13 ## eCos is free software; you can redistribute it and/or modify it under
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
14 ## the terms of the GNU General Public License as published by the Free
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
15 ## Software Foundation; either version 2 or (at your option) any later version.
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
16 ##
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
19 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
20 ## for more details.
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
21 ##
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
22 ## You should have received a copy of the GNU General Public License along
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
25 ##
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
26 ## As a special exception, if other files instantiate templates or use macros
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
27 ## or inline functions from this file, or you compile this file and link it
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
28 ## with other works to produce a work based on this file, this file does not
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
29 ## by itself cause the resulting work to be covered by the GNU General Public
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
30 ## License. However the source code for this file must still be made available
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
31 ## in accordance with section (3) of the GNU General Public License.
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
32 ##
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
33 ## This exception does not invalidate any other reasons why a work based on
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
34 ## this file might be covered by the GNU General Public License.
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
35 ##
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
36 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
37 ## at http://sources.redhat.com/ecos/ecos-license/
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
38 ## -------------------------------------------
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
39 #####ECOSGPLCOPYRIGHTEND####
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
40 # ====================================================================
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
41 ######DESCRIPTIONBEGIN####
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
42 #
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
43 # Author(s): Savin Zlobec <savin@elatec.si>
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
44 # Original data: nickg, jskov
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
45 # Contributors:
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
46 # Date: 2003-10-02
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
47 #
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
48 #####DESCRIPTIONEND####
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
49 #
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
50 # ====================================================================
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
51
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
52 cdl_package CYGPKG_DEVS_WALLCLOCK_SYNTH {
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
53 parent CYGPKG_IO_WALLCLOCK
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
54 active_if CYGPKG_IO_WALLCLOCK
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
55 display "Synthetic wallclock driver"
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
56 requires CYGPKG_HAL_SYNTH
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
57 hardware
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
58 compile wallclock_synth.cxx
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
59 implements CYGINT_WALLCLOCK_HW_IMPLEMENTATIONS
1299
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
60 implements CYGINT_WALLCLOCK_SET_GET_MODE_SUPPORTED
1274
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
61 active_if CYGIMP_WALLCLOCK_HARDWARE
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
62
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
63 cdl_option CYGIMP_WALLCLOCK_HARDWARE {
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
64 parent CYGPKG_IO_WALLCLOCK_IMPLEMENTATION
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
65 display "Hardware wallclock"
1299
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
66 default_value 0
1274
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
67 implements CYGINT_WALLCLOCK_IMPLEMENTATIONS
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
68 }
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
69
1299
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
70 cdl_option CYGDAT_DEVS_WALLCLOCK_SYNTH_FILENAME {
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
71 display "Name of file wich holds system-eCos wallclock offset"
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
72 flavor data
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
73 default_value { "\"synth.wallclock\"" }
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
74 active_if CYGSEM_WALLCLOCK_SET_GET_MODE
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
75 description "
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
76 This is the name of the file which holds the difference
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
77 between system and eCos wallclock. It is read at initialization
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
78 and written to each time the wallclock it set."
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
79 }
2449d74b1fa7 * cdl/wallclock_synth.cdl:
asl
parents: 1274
diff changeset
80
1274
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
81 cdl_component CYGPKG_DEVS_WALLCLOCK_SYNTH_OPTIONS {
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
82 display "Synthetic wallclock build options"
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
83 flavor none
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
84 description "
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
85 Package specific build options including control over
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
86 compiler flags used only in building this package,
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
87 and details of which tests are built."
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
88
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
89 cdl_option CYGPKG_DEVS_WALLCLOCK_SYNTH_CFLAGS_ADD {
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
90 display "Additional compiler flags"
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
91 flavor data
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
92 no_define
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
93 default_value { "" }
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
94 description "
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
95 This option modifies the set of compiler flags for
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
96 building the wallclock device. These flags are used in addition
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
97 to the set of global flags."
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
98 }
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
99
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
100 cdl_option CYGPKG_DEVS_WALLCLOCK_SYNTH_CFLAGS_REMOVE {
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
101 display "Suppressed compiler flags"
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
102 flavor data
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
103 no_define
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
104 default_value { "" }
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
105 description "
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
106 This option modifies the set of compiler flags for
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
107 building the wallclock device. These flags are removed from
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
108 the set of global flags if present."
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
109 }
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
110 }
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
111 }
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
112
2ac0ba640590 Created wallclock driver for synthetic target.
asl
parents:
diff changeset
113 # EOF wallclock_synth.cdl