comparison packages/hal/arm/sa11x0/var/current/cdl/hal_arm_sa11x0.cdl @ 145:2e9a636d9de9 ecos-sw-2000-12-21

Merge from eCos master repository on 2000-12-21-14:18:40-GMT
author jlarmour
date Fri, 22 Dec 2000 02:37:28 +0000
parents ff3f181b64bd
children 8f2f7615e727
comparison
equal deleted inserted replaced
144:da1052144c56 145:2e9a636d9de9
49 This HAL variant package provides generic 49 This HAL variant package provides generic
50 support for the Intel StrongARM SA11x0 processors. It is also 50 support for the Intel StrongARM SA11x0 processors. It is also
51 necessary to select a specific target platform HAL 51 necessary to select a specific target platform HAL
52 package." 52 package."
53 53
54 # Let the architectural HAL see this variant's interrupts file -
55 # the SA11x0 has no variation between targets here.
56 define_proc {
57 puts $::cdl_header \
58 "#define CYGBLD_HAL_VAR_INTS_H <cyg/hal/hal_var_ints.h>"
59 }
54 60
55 compile hal_diag.c sa11x0_misc.c 61 compile hal_diag.c sa11x0_misc.c
56 62
57 cdl_option CYGHWR_HAL_ARM_SA11X0_PROCESSOR_CLOCK { 63 cdl_option CYGHWR_HAL_ARM_SA11X0_PROCESSOR_CLOCK {
58 display "Processor clock rate" 64 display "Processor clock rate"
65 active_if { CYG_HAL_STARTUP == "ROM" }
59 flavor data 66 flavor data
60 legal_values 59000 73700 88500 103200 118000 132700 147500 162200 176900 191700 206400 221200 67 legal_values 59000 73700 88500 103200 118000 132700 147500 162200 176900 191700 206400 221200
61 default_value 221200 68 default_value 221200
62 description " 69 description "
63 The SA-1100 processor can run at various frequencies. 70 The SA-1100 processor can run at various frequencies.
79 calculated 1000000000 86 calculated 1000000000
80 } 87 }
81 cdl_option CYGNUM_HAL_RTC_DENOMINATOR { 88 cdl_option CYGNUM_HAL_RTC_DENOMINATOR {
82 display "Real-time clock denominator" 89 display "Real-time clock denominator"
83 flavor data 90 flavor data
84 calculated 100 91 default_value 100
92 description "
93 This option selects the heartbeat rate for the real-time clock.
94 The rate is specified in ticks per second. Change this value
95 with caution - too high and your system will become saturated
96 just handling clock interrupts, too low and some operations
97 such as thread scheduling may become sluggish."
85 } 98 }
86 cdl_option CYGNUM_HAL_RTC_PERIOD { 99 cdl_option CYGNUM_HAL_RTC_PERIOD {
87 display "Real-time clock period" 100 display "Real-time clock period"
88 flavor data 101 flavor data
89 calculated 36864 ;# Clock for OS Timer is 3.6864MHz 102 calculated (3686400/CYGNUM_HAL_RTC_DENOMINATOR) ;# Clock for OS Timer is 3.6864MHz
90 } 103 }
91 } 104 }
92 105
93 } 106 }