Mercurial > ecos-v3_0-branch
annotate packages/hal/m68k/mcf52xx/var/current/cdl/hal_m68k_mcf52xx.cdl @ 2729:74dbf4c3f2e1 after-copyright-change-20090129
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
| author | jlarmour |
|---|---|
| date | Thu, 29 Jan 2009 17:47:46 +0000 |
| parents | 2bff610f66e7 |
| children |
| rev | line source |
|---|---|
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
1 # ==================================================================== |
|
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
2 # |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
3 # hal_m68k_mcfxxxx.cdl |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
4 # |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
5 # mcfxxxx variant architectural HAL package configuration data |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
6 # |
|
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
7 # ==================================================================== |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
8 # ####ECOSGPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
9 # ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
10 # This file is part of eCos, the Embedded Configurable Operating System. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
11 # Copyright (C) 2003, 2005, 2006, 2008 Free Software Foundation, Inc. |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
12 # |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
13 # eCos is free software; you can redistribute it and/or modify it under |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
14 # the terms of the GNU General Public License as published by the Free |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
15 # Software Foundation; either version 2 or (at your option) any later |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
16 # version. |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
17 # |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
18 # eCos is distributed in the hope that it will be useful, but WITHOUT |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
19 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
20 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
21 # for more details. |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
22 # |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
23 # You should have received a copy of the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
24 # along with eCos; if not, write to the Free Software Foundation, Inc., |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
25 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
26 # |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
27 # As a special exception, if other files instantiate templates or use |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
28 # macros or inline functions from this file, or you compile this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
29 # and link it with other works to produce a work based on this file, |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
30 # this file does not by itself cause the resulting work to be covered by |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
31 # the GNU General Public License. However the source code for this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
32 # must still be made available in accordance with section (3) of the GNU |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
33 # General Public License v2. |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
34 # |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
35 # This exception does not invalidate any other reasons why a work based |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
36 # on this file might be covered by the GNU General Public License. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
37 # ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2650
diff
changeset
|
38 # ####ECOSGPLCOPYRIGHTEND#### |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
39 # ==================================================================== |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
40 #####DESCRIPTIONBEGIN#### |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
41 # |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
42 # Author(s): bartv |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
43 # Date: 2003-06-04 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
44 # |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
45 #####DESCRIPTIONEND#### |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
46 #======================================================================== |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
47 |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
48 cdl_package CYGPKG_HAL_M68K_MCFxxxx { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
49 display "M68k/ColdFire variant HAL" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
50 doc ref/hal-m68k-mcfxxxx.html |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
51 parent CYGPKG_HAL_M68K |
|
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
52 requires CYGPKG_HAL_M68K |
|
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
53 hardware |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
54 include_dir cyg/hal |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
55 compile mcf52xx.c mcf52xx_asm.S |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
56 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
57 description "The M68k/ColdFire variant HAL package provides |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
58 generic support for the Freescale ColdFire family of |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
59 processors." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
60 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
61 define_proc { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
62 puts $::cdl_system_header "#define CYGBLD_HAL_VARIANT_H <pkgconf/hal_m68k_mcfxxxx.h>" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
63 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
64 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
65 cdl_component CYGPKG_HAL_M68K_MCFxxxx_DIAGNOSTICS { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
66 display "HAL diagnostics support" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
67 flavor none |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
68 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
69 The MCFxxxx variant HAL has support for outputting diagnostics via an |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
70 on-chip UART compatible with the ones found on the MCF5282, or for |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
71 discarding all diagnostic output. In some development environments the |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
72 diagnostics channel can also be used for communication between gdb |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
73 on the host and the gdb stubs on the target. In virtual vector |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
74 configurations where the application runs on top of RedBoot the |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
75 diagnostics channel is provided by RedBoot so changing the channel |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
76 requires reconfiguring RedBoot." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
77 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
78 cdl_interface CYGINT_HAL_M68K_MCFxxxx_DIAGNOSTICS_USE_DEFAULT { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
79 display "Platform uses default MCFxxxx diagnostics support" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
80 flavor bool |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
81 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
82 The MCFxxxx variant HAL has support for outputting diagnostics via |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
83 an on-chip UART compatible with the ones found on the MCF5282. |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
84 If a platform can use this default diagnostics support then the |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
85 platform HAL will implement this interface. If some other mechanism |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
86 should be used for generating diagnostics output, for example because |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
87 none of the UARTs are available, then the platform HAL can provide its |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
88 own facilities." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
89 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
90 define_proc { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
91 puts $::cdl_header "\#define CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS\t1" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
92 puts $::cdl_header "\#define CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL\t0" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
93 puts $::cdl_header "\#define CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL\t0" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
94 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
95 } |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
96 |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
97 cdl_option CYGHWR_HAL_M68K_MCFxxxx_DIAGNOSTICS_PORT { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
98 display "Port to use for HAL diagnostics" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
99 flavor data |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
100 compile hal_diag.c |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
101 active_if !CYGSEM_HAL_USE_ROM_MONITOR || CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_COMMS |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
102 active_if CYGINT_HAL_M68K_MCFxxxx_DIAGNOSTICS_USE_DEFAULT |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
103 legal_values { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
104 (CYGHWR_HAL_M68K_MCFxxxx_UART0 ? "uart0" : "") |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
105 (CYGHWR_HAL_M68K_MCFxxxx_UART1 ? "uart1" : "") |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
106 (CYGHWR_HAL_M68K_MCFxxxx_UART2 ? "uart2" : "") |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
107 "<invalid>" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
108 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
109 requires { CYGHWR_HAL_M68K_MCFxxxx_DIAGNOSTICS_PORT != "<invalid>" } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
110 default_value { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
111 CYGHWR_HAL_M68K_MCFxxxx_DIAGNOSTICS_PORT_DEFAULT ? CYGHWR_HAL_M68K_MCFxxxx_DIAGNOSTICS_PORT_DEFAULT : |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
112 CYGHWR_HAL_M68K_MCFxxxx_UART0 ? "uart0" : |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
113 CYGHWR_HAL_M68K_MCFxxxx_UART1 ? "uart1" : |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
114 CYGHWR_HAL_M68K_MCFxxxx_UART2 ? "uart2" : |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
115 "discard" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
116 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
117 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
118 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
119 This option controls which of the on-chip UARTs will be used for |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
120 the HAL diagnostics channel. A UART connected to an RS232 transceiver |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
121 is required." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
122 } |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
123 |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
124 cdl_option CYGNUM_HAL_M68K_MCFxxxx_DIAGNOSTICS_BAUD { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
125 display "Baud rate to use for HAL diagnostics" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
126 flavor data |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
127 active_if CYGHWR_HAL_M68K_MCFxxxx_DIAGNOSTICS_PORT |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
128 legal_values { 9600 19200 38400 115200 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
129 default_value { is_enabled(CYGNUM_HAL_M68K_MCFxxxx_DIAGNOSTICS_DEFAULT_BAUD) ? |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
130 CYGNUM_HAL_M68K_MCFxxxx_DIAGNOSTICS_DEFAULT_BAUD : 38400 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
131 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
132 # For platforms which implement dynamic baud rates |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
133 define CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
134 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
135 This option selects the baud rate used for the diagnostics port." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
136 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
137 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
138 cdl_option CYGNUM_HAL_M68K_MCFxxxx_DIAGNOSTICS_ISRPRI { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
139 display "Interrupt priority for HAL diagnostics UART" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
140 flavor data |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
141 active_if CYGHWR_HAL_M68K_MCFxxxx_DIAGNOSTICS_PORT |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
142 active_if CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
143 legal_values CYGNUM_HAL_M68K_MCFxxxx_ISR_PRIORITY_MIN to CYGNUM_HAL_M68K_MCFxxxx_ISR_PRIORITY_MAX |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
144 default_value { is_loaded(CYGNUM_HAL_M68K_MCFxxxx_ISR_DEFAULT_PRIORITY_DIAG) ? |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
145 CYGNUM_HAL_M68K_MCFxxxx_ISR_DEFAULT_PRIORITY_DIAG : CYGNUM_HAL_M68K_MCFxxxx_ISR_PRIORITY_MAX } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
146 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
147 When the HAL diagnostics channel is used for gdb traffic it may |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
148 at times be in interrupt-driven rather than polled mode, to allow |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
149 a ctrl-C to halt the application. This configuration option |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
150 selects the interrupt priority." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
151 } |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
152 } |
|
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
153 |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
154 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
155 # This component will be filled in by the processor/platform HAL's. |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
156 cdl_component CYGPKG_HAL_M68K_MCFxxxx_REGISTERS { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
157 display "Hardware configuration" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
158 flavor none |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
159 no_define |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
160 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
161 ColdFire processors usually have a number of on-chip memories: an |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
162 instruction cache, some RAM, and possibly some ROM. Some aspects of |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
163 these can be configured by selecting the values for certain key |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
164 registers, for example the RAMBAR internal ram base register." |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
165 } |
|
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
166 |
|
2650
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
167 if { 0 } { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
168 cdl_component CYGPKG_HAL_M68K_MCFxxxx_MAC { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
169 display "Support for the MAC unit" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
170 active_if CYGINT_HAL_M68K_MCFxxxx_HARDWARE_MAC |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
171 flavor none |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
172 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
173 If the target processor has a hardware multiply/accumulate unit then |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
174 this component defines additional configuration options related |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
175 to that unit." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
176 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
177 cdl_option CYGIMP_HAL_M68K_MCFxxxx_MAC_SAVE { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
178 display "Save MAC state during context switch" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
179 default_value 1 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
180 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
181 By default the MAC context gets saved during a context switch and |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
182 whenever an interrupt occurs. This can be suppressed if the application |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
183 does not actually use this unit, or if it does so from only one |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
184 thread." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
185 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
186 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
187 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
188 cdl_component CYGPKG_HAL_M68K_MCFxxxx_EMAC { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
189 display "Support for the enhanced MAC unit" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
190 active_if CYGINT_HAL_M68K_MCFxxxx_HARDWARE_EMAC |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
191 flavor none |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
192 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
193 If the target processor has an enhanced multiply/accumulate unit then |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
194 this component defines additional configuration options related |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
195 to that unit." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
196 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
197 cdl_option CYGIMP_HAL_M68K_MCFxxxx_EMAC_SAVE { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
198 display "Save EMAC state during context switch" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
199 default_value 1 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
200 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
201 By default the EMAC context gets saved during a context switch and |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
202 whenever an interrupt occurs. This can be suppressed if the application |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
203 does not actually use this unit, or if it does so from only one |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
204 thread." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
205 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
206 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
207 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
208 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
209 cdl_component CYGHWR_HAL_M68K_MCFxxxx_HARDWARE { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
210 display "Optional hardware units" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
211 flavor none |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
212 no_define |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
213 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
214 Some ColdFire hardware units such as the multiply/accumulator are |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
215 optional. This component keeps track of which units are actually |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
216 available on the current target so that other configuration options |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
217 and the eCos source code can adapt accordingly." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
218 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
219 cdl_interface CYGINT_HAL_M68K_MCFxxxx_HARDWARE_MAC { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
220 display "Multiply/accumulate unit" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
221 flavor bool |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
222 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
223 This interface will be implemented if the specific processor being |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
224 used has a MAC (multiply/accumulate) unit." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
225 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
226 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
227 cdl_interface CYGINT_HAL_M68K_MCFxxxx_HARDWARE_EMAC { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
228 display "Enhanced multiply/accumulate unit" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
229 flavor bool |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
230 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
231 This interface will be implemented if the specific processor being |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
232 used has an EMAC (enhanced multiply/accumulate) unit." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
233 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
234 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
235 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
236 cdl_component CYGPKG_HAL_M68K_MCFxxxx_SOFTWARE { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
237 display "Optional software units" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
238 flavor none |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
239 no_define |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
240 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
241 The MCFxxxx variant HAL can provide default implementations of some |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
242 software units such as profiling timer support for ColdFire processors |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
243 sharing appropriate characteristics." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
244 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
245 cdl_interface CYGINT_HAL_M68K_MCFxxxx_SOFTWARE_PROFILE_TIMER { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
246 display "Use standard profile timer" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
247 active_if CYGPKG_PROFILE_GPROF |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
248 implements CYGINT_PROFILE_HAL_TIMER |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
249 flavor bool |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
250 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
251 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
252 The MCFxxxx variant HAL can provide gprof profiling timer support |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
253 on all ColdFire processors with a spare MCF5282-compatible PIT timer." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
254 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
255 |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
256 cdl_option CYGNUM_HAL_M68K_MCFxxxx_SOFTWARE_PROFILE_TIMER_ISR_PRIORITY { |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
257 display "Profile timer interrupt priority" |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
258 active_if CYGINT_HAL_M68K_MCFxxxx_SOFTWARE_PROFILE_TIMER |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
259 flavor data |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
260 legal_values CYGNUM_HAL_M68K_MCFxxxx_ISR_PRIORITY_MIN to CYGNUM_HAL_M68K_MCFxxxx_ISR_PRIORITY_MAX |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
261 default_value { is_loaded(CYGNUM_HAL_M68K_MCFxxxx_ISR_DEFAULT_PRIORITY_PROFILING_TIMER) ? |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
262 CYGNUM_HAL_M68K_MCFxxxx_ISR_DEFAULT_PRIORITY_PROFILING_TIMER : CYGNUM_HAL_M68K_MCFxxxx_ISR_PRIORITY_MIN } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
263 description " |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
264 This configuration option controls the priority used for the |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
265 profiling timer interrupts. Typically this should be a high |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
266 priority, making it possible to get profiling info for lower |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
267 priority interrupt handlers when nested interrupt handling |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
268 is enabled." |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
269 } |
|
2bff610f66e7
Contribute eCosCentric's MCFxxxx variant HAL, replacing the old
bartv
parents:
1604
diff
changeset
|
270 } |
|
211
6eb55882e01c
Merge from eCos master repository on 2002-05-29-16:32:18-BST
jlarmour
parents:
diff
changeset
|
271 } |
