comparison packages/devs/wallclock/current/cdl/wallclock.cdl @ 78:59d97b6ba612 ecos-sw-2000-03-28

Merge from eCos master repository on 2000-03-28-19:50:47-BST
author jlarmour
date Tue, 28 Mar 2000 20:13:29 +0000
parents 435cced73e2f
children
comparison
equal deleted inserted replaced
77:abb6bd809e81 78:59d97b6ba612
51 number of clock ticks since the hardware was powered up. 51 number of clock ticks since the hardware was powered up.
52 Depending on the target platform this device may involve 52 Depending on the target platform this device may involve
53 interacting with a suitable clock chip, or it may be 53 interacting with a suitable clock chip, or it may be
54 emulated by using the kernel timers." 54 emulated by using the kernel timers."
55 55
56 # FIXME: should be editable when there are HW alternatives. 56 cdl_interface CYGINT_WALLCLOCK_IMPLEMENTATIONS {
57 display "Number of wallclock implementations"
58 requires { CYGINT_WALLCLOCK_IMPLEMENTATIONS == 1 }
59 }
60
61 cdl_interface CYGINT_WALLCLOCK_HW_IMPLEMENTATIONS {
62 display "Number of hardware wallclock implementations"
63 }
64
57 cdl_option CYGIMP_WALLCLOCK_EMULATE { 65 cdl_option CYGIMP_WALLCLOCK_EMULATE {
58 display "Wallclock emulator" 66 display "Wallclock emulator"
59 calculated 1 67 default_value { CYGINT_WALLCLOCK_HW_IMPLEMENTATIONS == 0 }
68 implements CYGINT_WALLCLOCK_IMPLEMENTATIONS
60 compile emulate.cxx 69 compile emulate.cxx
61 description " 70 description "
62 When this option is enabled, a wallclock device will be 71 When this option is enabled, a wallclock device will be
63 emulated using the kernel real-time clock." 72 emulated using the kernel real-time clock."
64 } 73 }
74
75 cdl_option CYGIMP_WALLCLOCK_SH3 {
76 display "SH3 Wallclock"
77 default_value { CYGPKG_HAL_SH }
78 active_if CYGPKG_HAL_SH
79 compile sh3.cxx
80 implements CYGINT_WALLCLOCK_HW_IMPLEMENTATIONS
81 implements CYGINT_WALLCLOCK_IMPLEMENTATIONS
82 description "
83 When this option is enabled, a wallclock driver using the
84 SH3's on-core Realtime Clock module will be built."
85 }
86
65 87
66 cdl_component CYGPKG_DEVICES_WALLCLOCK_OPTIONS { 88 cdl_component CYGPKG_DEVICES_WALLCLOCK_OPTIONS {
67 display "Wallclock build options" 89 display "Wallclock build options"
68 flavor none 90 flavor none
69 description " 91 description "