Mercurial > ecos
annotate packages/hal/arm/arch/current/cdl/hal_arm.cdl @ 3292:7f8e529b4d82 default tip
Fix FREESCALE_EDMA_NBYTES_MLOFFYES_MLOFF() so it works with negative offsets.
| author | vae |
|---|---|
| date | Wed, 29 Apr 2015 23:31:48 +0000 |
| parents | 8b3440f8b6b6 |
| children |
| rev | line source |
|---|---|
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
1 # ==================================================================== |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
2 # |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
3 # hal_arm.cdl |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
4 # |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
5 # ARM architectural HAL package configuration data |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
6 # |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
7 # ==================================================================== |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2594
diff
changeset
|
8 ## ####ECOSGPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2594
diff
changeset
|
9 ## ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2594
diff
changeset
|
10 ## This file is part of eCos, the Embedded Configurable Operating System. |
|
3285
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2014 Free Software Foundation, Inc. |
|
210
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
12 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2594
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:
2594
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:
2594
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:
2594
diff
changeset
|
16 ## version. |
|
210
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
17 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2594
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:
2594
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:
2594
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:
2594
diff
changeset
|
21 ## for more details. |
|
210
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
22 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2594
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:
2594
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:
2594
diff
changeset
|
25 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
210
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
26 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2594
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:
2594
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:
2594
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:
2594
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:
2594
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:
2594
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:
2594
diff
changeset
|
33 ## General Public License v2. |
|
210
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
34 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2594
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:
2594
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:
2594
diff
changeset
|
37 ## ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2594
diff
changeset
|
38 ## ####ECOSGPLCOPYRIGHTEND#### |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
39 # ==================================================================== |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
40 ######DESCRIPTIONBEGIN#### |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
41 # |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
42 # Author(s): bartv |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
43 # Original data: gthomas |
|
3285
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
44 # Contributors: jld |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
45 # Date: 1999-06-13 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
46 # |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
47 #####DESCRIPTIONEND#### |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
48 # |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
49 # ==================================================================== |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
50 cdl_package CYGPKG_HAL_ARM { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
51 display "ARM architecture" |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
52 parent CYGPKG_HAL |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
53 hardware |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
54 include_dir cyg/hal |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
55 define_header hal_arm.h |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
56 description " |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
57 The ARM architecture HAL package provides generic |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
58 support for this processor architecture. It is also |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
59 necessary to select a specific target platform HAL |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
60 package." |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
61 |
|
3285
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
62 implements CYGINT_PROFILE_HAL_MCOUNT |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
63 |
|
136
a9ac27ec7abc
Merge from eCos master repository on 2000-11-17-18:24:25-GMT
jlarmour
parents:
115
diff
changeset
|
64 compile hal_misc.c context.S arm_stub.c hal_syscall.c |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
65 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
66 # The "-o file" is a workaround for CR100958 - without it the |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
67 # output file would end up in the source directory under CygWin. |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
68 # n.b. grep does not behave itself under win32 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
69 make -priority 1 { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
70 arm.inc : <PACKAGE>/src/hal_mk_defs.c |
| 2439 | 71 $(CC) $(ACTUAL_CFLAGS) $(INCLUDE_PATH) -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S $< |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
72 fgrep .equ hal_mk_defs.tmp | sed s/#// > $@ |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
73 @echo $@ ": \\" > $(notdir $@).deps |
|
1604
bc88a3357a79
Update usage of 'tail' command for new (pickier) version - from Jani Monoses
gthomas
parents:
1002
diff
changeset
|
74 @tail -n +2 arm.tmp >> $(notdir $@).deps |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
75 @echo >> $(notdir $@).deps |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
76 @rm arm.tmp hal_mk_defs.tmp |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
77 } |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
78 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
79 make { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
80 <PREFIX>/lib/vectors.o : <PACKAGE>/src/vectors.S |
| 2439 | 81 $(CC) -Wp,-MD,vectors.tmp $(INCLUDE_PATH) $(ACTUAL_CFLAGS) -c -o $@ $< |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
82 @echo $@ ": \\" > $(notdir $@).deps |
|
1604
bc88a3357a79
Update usage of 'tail' command for new (pickier) version - from Jani Monoses
gthomas
parents:
1002
diff
changeset
|
83 @tail -n +2 vectors.tmp >> $(notdir $@).deps |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
84 @echo >> $(notdir $@).deps |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
85 @rm vectors.tmp |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
86 } |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
87 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
88 make { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
89 <PREFIX>/lib/target.ld: <PACKAGE>/src/arm.ld |
| 2439 | 90 $(CC) -E -P -Wp,-MD,target.tmp -xc $(INCLUDE_PATH) $(ACTUAL_CFLAGS) -o $@ $< |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
91 @echo $@ ": \\" > $(notdir $@).deps |
|
1604
bc88a3357a79
Update usage of 'tail' command for new (pickier) version - from Jani Monoses
gthomas
parents:
1002
diff
changeset
|
92 @tail -n +2 target.tmp >> $(notdir $@).deps |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
93 @echo >> $(notdir $@).deps |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
94 @rm target.tmp |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
95 } |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
96 |
|
158
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
97 cdl_interface CYGINT_HAL_ARM_THUMB_ARCH { |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
98 display "The CPU architecture supports THUMB mode" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
99 } |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
100 |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
101 cdl_option CYGHWR_THUMB { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
102 display "Enable Thumb instruction set" |
|
158
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
103 active_if { CYGINT_HAL_ARM_THUMB_ARCH != 0 } |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
104 default_value 0 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
105 description " |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
106 Enable use of the Thumb instruction set." |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
107 } |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
108 |
|
154
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
109 # Note that when building a ROM monitor we include Thumb |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
110 # interworking in order to support Thumb applications running |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
111 # under a ARM ROM monitor. |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
112 cdl_option CYGBLD_ARM_ENABLE_THUMB_INTERWORK { |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
113 display "Enable Thumb interworking compiler option" |
|
158
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
114 active_if { CYGINT_HAL_ARM_THUMB_ARCH != 0 } |
|
154
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
115 default_value { (CYGHWR_THUMB || CYGSEM_HAL_ROM_MONITOR) } |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
116 description " |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
117 This option controls the use of -mthumb-interwork in the |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
118 compiler flags. It defaults enabled in Thumb or ROM monitor |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
119 configurations, but can be overridden for reduced memory |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
120 footprint where interworking is not a requirement." |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
121 } |
|
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
122 |
|
158
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
123 cdl_interface CYGINT_HAL_ARM_BIGENDIAN { |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
124 display "The platform and architecture supports Big Endian operation" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
125 } |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
126 |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
127 cdl_option CYGHWR_HAL_ARM_BIGENDIAN { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
128 display "Use big-endian mode" |
|
158
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
129 active_if { CYGINT_HAL_ARM_BIGENDIAN != 0 } |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
130 default_value 0 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
131 description " |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
132 Use the CPU in big-endian mode." |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
133 } |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
134 |
| 2748 | 135 cdl_option CYGBLD_ARCH_CFLAGS { |
| 136 display "Architecture-specific compiler flags" | |
| 137 parent CYGBLD_GLOBAL_OPTIONS | |
| 138 flavor data | |
| 139 no_define | |
| 2845 | 140 calculated { (CYGHWR_THUMB ? " -mthumb " : "") . |
| 141 (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? " -mthumb-interwork " : " -mno-thumb-interwork ") . | |
| 142 (CYGHWR_HAL_ARM_BIGENDIAN ? " -mbig-endian " : "") | |
| 2748 | 143 } |
| 2845 | 144 requires { CYGHWR_THUMB && CYGBLD_ARM_ENABLE_THUMB_INTERWORK implies is_substr(CYGBLD_GLOBAL_CFLAGS, " -mthumb ") && |
| 145 is_substr(CYGBLD_GLOBAL_CFLAGS, " -mthumb-interwork ") && | |
| 146 !is_substr(CYGBLD_GLOBAL_CFLAGS, " -mno-thumb-interwork ") } | |
| 147 requires { !CYGHWR_THUMB && CYGBLD_ARM_ENABLE_THUMB_INTERWORK implies !is_substr(CYGBLD_GLOBAL_CFLAGS, " -mthumb ") && | |
| 148 is_substr(CYGBLD_GLOBAL_CFLAGS, " -mthumb-interwork ") && | |
| 149 !is_substr(CYGBLD_GLOBAL_CFLAGS, " -mno-thumb-interwork ") } | |
| 150 requires { CYGHWR_THUMB && !CYGBLD_ARM_ENABLE_THUMB_INTERWORK implies is_substr(CYGBLD_GLOBAL_CFLAGS, " -mthumb ") && | |
| 151 !is_substr(CYGBLD_GLOBAL_CFLAGS, " -mthumb-interwork ") && | |
| 152 is_substr(CYGBLD_GLOBAL_CFLAGS, " -mno-thumb-interwork ") } | |
| 153 requires { !CYGHWR_THUMB && !CYGBLD_ARM_ENABLE_THUMB_INTERWORK implies !is_substr(CYGBLD_GLOBAL_CFLAGS, " -mthumb ") && | |
| 154 !is_substr(CYGBLD_GLOBAL_CFLAGS, " -mthumb-interwork ") && | |
| 155 is_substr(CYGBLD_GLOBAL_CFLAGS, " -mno-thumb-interwork ") } | |
| 156 requires { CYGHWR_HAL_ARM_BIGENDIAN implies is_substr(CYGBLD_GLOBAL_CFLAGS, " -mbig-endian ") } | |
| 157 requires { !CYGHWR_HAL_ARM_BIGENDIAN implies !is_substr(CYGBLD_GLOBAL_CFLAGS, " -mbig-endian ") } | |
| 2748 | 158 } |
| 159 | |
| 160 cdl_option CYGBLD_ARCH_LDFLAGS { | |
| 161 display "Architecture-specific linker flags" | |
| 162 parent CYGBLD_GLOBAL_OPTIONS | |
| 163 flavor data | |
| 164 no_define | |
| 2845 | 165 calculated { (CYGHWR_THUMB ? " -mthumb " : "") . |
| 166 (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? " -mthumb-interwork " : " -mno-thumb-interwork ") . | |
| 167 (CYGHWR_HAL_ARM_BIGENDIAN ? " -mbig-endian " : "") | |
| 2748 | 168 } |
| 2845 | 169 requires { CYGHWR_THUMB && CYGBLD_ARM_ENABLE_THUMB_INTERWORK implies is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mthumb ") && |
| 170 is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mthumb-interwork ") && | |
| 171 !is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mno-thumb-interwork ") } | |
| 172 requires { !CYGHWR_THUMB && CYGBLD_ARM_ENABLE_THUMB_INTERWORK implies !is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mthumb ") && | |
| 173 is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mthumb-interwork ") && | |
| 174 !is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mno-thumb-interwork ") } | |
| 175 requires { CYGHWR_THUMB && !CYGBLD_ARM_ENABLE_THUMB_INTERWORK implies is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mthumb ") && | |
| 176 !is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mthumb-interwork ") && | |
| 177 is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mno-thumb-interwork ") } | |
| 178 requires { !CYGHWR_THUMB && !CYGBLD_ARM_ENABLE_THUMB_INTERWORK implies !is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mthumb ") && | |
| 179 !is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mthumb-interwork ") && | |
| 180 is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mno-thumb-interwork ") } | |
| 181 requires { CYGHWR_HAL_ARM_BIGENDIAN implies is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mbig-endian ") } | |
| 182 requires { !CYGHWR_HAL_ARM_BIGENDIAN implies !is_substr(CYGBLD_GLOBAL_LDFLAGS, " -mbig-endian ") } | |
| 2748 | 183 } |
| 184 | |
|
158
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
185 cdl_interface CYGINT_HAL_ARM_ARCH_ARM7 { |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
186 display "The platform uses a processor with an ARM7 core" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
187 } |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
188 |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
189 cdl_interface CYGINT_HAL_ARM_ARCH_ARM9 { |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
190 display "The platform uses a processor with an ARM9 core" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
191 } |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
192 |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
193 cdl_interface CYGINT_HAL_ARM_ARCH_STRONGARM { |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
194 display "The platform uses a processor with a StrongARM core" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
195 } |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
196 |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
197 cdl_interface CYGINT_HAL_ARM_ARCH_XSCALE { |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
198 display "The platform uses a processor with a XScale core" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
199 } |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
200 |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
201 cdl_option CYGHWR_HAL_ARM_CPU_FAMILY { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
202 display "ARM CPU family" |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
203 flavor data |
|
158
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
204 legal_values { (CYGINT_HAL_ARM_ARCH_ARM7 != 0) ? "ARM7" : "" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
205 (CYGINT_HAL_ARM_ARCH_ARM9 != 0) ? "ARM9" : "" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
206 (CYGINT_HAL_ARM_ARCH_STRONGARM != 0) ? "StrongARM" : "" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
207 (CYGINT_HAL_ARM_ARCH_XSCALE != 0) ? "XScale" : "" |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
208 "" } |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
209 default_value { (CYGINT_HAL_ARM_ARCH_ARM7 != 0) ? "ARM7" : |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
210 (CYGINT_HAL_ARM_ARCH_ARM9 != 0) ? "ARM9" : |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
211 (CYGINT_HAL_ARM_ARCH_STRONGARM != 0) ? "StrongARM" : |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
212 (CYGINT_HAL_ARM_ARCH_XSCALE != 0) ? "XScale" : |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
213 "unknown" } |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
214 no_define |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
215 description " |
|
158
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
216 It is possible to optimize code for different |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
217 ARM CPU families. This option selects which CPU to |
|
f2545e5de153
Merge from eCos master repository on 2001-04-24-11:22:42-BST
jlarmour
parents:
154
diff
changeset
|
218 optimize for on boards that support multiple CPU types." |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
219 } |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
220 |
|
2594
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
221 cdl_option CYGBLD_HAL_ARM_EABI { |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
222 display "Build for ARM EABI" |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
223 default_value { (is_substr(CYGBLD_GLOBAL_COMMAND_PREFIX, "-eabi") && \ |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
224 !is_substr(CYGBLD_GLOBAL_CFLAGS, "-mabi=apcs-gnu") && \ |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
225 !is_substr(CYGBLD_GLOBAL_CFLAGS, "-mabi=atpcs")) || \ |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
226 is_substr(CYGBLD_GLOBAL_CFLAGS, "-mabi=aapcs") } |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
227 # The EABI uses a different C++ exception implementation to the standard |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
228 # one and thus we indicate this to CYGPKG_LIBSTDCXX |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
229 implements CYGINT_LIBSTDCXX_NO_CXX_EXCEPTION_REG_FRAME_IMPL |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
230 description " |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
231 If using a toolchain which targets the ARM EABI (embedded application |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
232 binary interface), this option should be enabled to provide altered |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
233 semantics and differing linker section output." |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
234 } |
|
4ca9d5dac8b0
* src/arm.ld: Discard C++ EH-related sections when we can't
jlarmour
parents:
2439
diff
changeset
|
235 |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
236 cdl_option CYGHWR_HAL_ARM_DUMP_EXCEPTIONS { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
237 display "Provide diagnostic dump for exceptions" |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
238 requires !CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
239 default_value 0 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
240 description " |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
241 Print messages about hardware exceptions, including |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
242 raw exception frame dump and register contents." |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
243 } |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
244 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
245 cdl_option CYGIMP_HAL_PROCESS_ALL_EXCEPTIONS { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
246 display "Process all exceptions with the eCos application" |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
247 default_value 0 |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
248 description " |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
249 Normal RAM-based programs which do not include GDB stubs |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
250 defer processing of the illegal instruction exception to GDB. |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
251 Setting this options allows the program to explicitly handle |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
252 the illegal instruction exception itself. Note: this will |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
253 prevent the use of GDB to debug the application as breakpoints |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
254 will no longer work." |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
255 } |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
256 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
257 cdl_option CYGHWR_HAL_ARM_ICE_THREAD_SUPPORT { |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
258 display "Support GDB thread operations via ICE/Multi-ICE" |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
259 default_value 0 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
260 requires CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
261 requires CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
262 requires CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
263 description " |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
264 Allow GDB to get thread information via the ICE/Multi-ICE |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
265 connection." |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
266 } |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
267 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
268 cdl_option CYGOPT_HAL_ARM_SYSCALL_GPROF_SUPPORT { |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
269 display "Support for 'gprof' callbacks" |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
270 calculated 1 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
271 no_define |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
272 active_if CYGSEM_REDBOOT_BSP_SYSCALLS |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
273 active_if { CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT || CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT } |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
274 implements CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
275 description " |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
276 The ARM HAL provides the macro for 'gprof' callbacks from RedBoot |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
277 to acquire the interrupt-context PC and SP, when this option is |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
278 active." |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
279 } |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
280 |
| 1002 | 281 cdl_option CYGOPT_HAL_ARM_WITH_USER_MODE { |
| 282 display "Accept exceptions and irq's occurring in user mode" | |
| 283 default_value 0 | |
| 284 description " | |
| 285 For standalone Redboot based programs running in user mode." | |
| 286 } | |
| 287 | |
| 288 cdl_option CYGOPT_HAL_ARM_PRESERVE_SVC_SPSR { | |
| 289 display "Preserve svc spsr before returning to svc mode" | |
| 290 default_value 0 | |
| 291 description " | |
| 292 This option secures exception and breakpoint processing | |
| 293 triggered during execution of application specific SWI | |
| 294 handlers." | |
| 295 } | |
| 296 | |
|
3173
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
297 cdl_option CYGOPT_HAL_ARM_FIQ_DISABLE { |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
298 display "Disable FIQs" |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
299 default_value 1 |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
300 description "This option causes the HAL to disable both IRQ and FIQ |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
301 interrupts during critical sections. Disabling this option |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
302 causes eCos to only disable IRQs and puts FIQ |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
303 interrupts outside the eCos world where they cannot interact |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
304 with eCos in any way. Disabling this option also enables |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
305 a set of macros, HAL_DISABLE|ENABLE|RESTORE|QUERY_FIQ, |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
306 that provide control over the delivery of FIQs. |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
307 The default is for this option to be enabled, which provides |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
308 backward compatibility with previous versions of the ARM HAL." |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
309 } |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
310 |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
311 cdl_option CYGNUM_HAL_ARM_FIQ_STACK_SIZE { |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
312 display "FIQ stack size" |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
313 active_if !CYGOPT_HAL_ARM_FIQ_DISABLE |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
314 flavor data |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
315 legal_values 32 to 0x80000000 |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
316 default_value 512 |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
317 description "This option set the size of the stack used to handle FIQ |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
318 interrupts. It is only used if the HAL is not disabling |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
319 FIQs during critical sections. Otherwise FIQs are translated |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
320 into IRQs and delivered on the standard interrupt stack." |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
321 } |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
322 |
|
afb59e9b7339
* cdl/hal_arm.cdl: Add CDL to control whether both IRQs and FIQs
nickg
parents:
2845
diff
changeset
|
323 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
324 cdl_component CYGPKG_REDBOOT_ARM_OPTIONS { |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
325 display "Redboot for ARM options" |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
326 flavor none |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
327 no_define |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
328 parent CYGPKG_REDBOOT |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
329 active_if CYGPKG_REDBOOT |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
330 description " |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
331 This option lists the target's requirements for a valid Redboot |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
332 configuration." |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
333 |
|
265
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
334 cdl_component CYGPKG_REDBOOT_ARM_LINUX_EXEC { |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
335 display "Provide the exec command in RedBoot" |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
336 flavor none |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
337 parent CYGPKG_REDBOOT_ARM_OPTIONS |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
338 active_if CYGBLD_BUILD_REDBOOT_WITH_EXEC |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
339 description " |
|
265
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
340 This option contains requirements for booting linux |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
341 from RedBoot. The component is enabled/disabled from |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
342 RedBoots CDL." |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
343 compile -library=libextras.a redboot_linux_exec.c |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
344 |
| 1742 | 345 cdl_option CYGHWR_REDBOOT_LINUX_EXEC_X_SWITCH { |
| 346 display "Enable -x switch for exec command." | |
| 347 flavor bool | |
| 348 default_value 0 | |
| 349 description " | |
| 350 This option allows bi-endian platforms to launch kernels | |
| 351 built for an endianess different than the RedBoot endianess" | |
| 352 } | |
| 353 | |
|
265
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
354 cdl_option CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS { |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
355 display "Physical base address of linux kernel" |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
356 flavor data |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
357 default_value CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
358 description " |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
359 This is the physical address of the base of the |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
360 Linux kernel image." |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
361 } |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
362 |
|
265
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
363 cdl_option CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT { |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
364 display "Default physical base address of linux kernel" |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
365 flavor data |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
366 default_value 0x00008000 |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
367 no_define |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
368 description " |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
369 This is the physical address of the base of the |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
370 Linux kernel image. This option gets set by the |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
371 platform CDL." |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
372 } |
|
212
94b558c9fb67
Merge from eCos master repository on 2002-05-31-00:05:29-BST
jlarmour
parents:
210
diff
changeset
|
373 |
|
265
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
374 cdl_option CYGHWR_REDBOOT_ARM_LINUX_TAGS_ADDRESS { |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
375 display "Base address of linux kernel parameter tags" |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
376 flavor data |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
377 default_value 0x100 |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
378 description " |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
379 This is the base address of the area of memory used to |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
380 pass parameters to the Linux kernel. This should be chosen |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
381 to avoid overlap with the kernel and any ramdisk image." |
|
96fac1fabc4c
RedBoot 'exec' command is now controlled by RedBoot CDL.
gthomas
parents:
212
diff
changeset
|
382 } |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
383 } |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
384 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
385 } |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
386 |
|
3285
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
387 cdl_option CYGBLD_HAL_ARM_MCOUNT { |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
388 display "Support call-graph profiling" |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
389 flavor bool |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
390 no_define |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
391 active_if CYGPKG_PROFILE_GPROF |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
392 calculated CYGPKG_PROFILE_CALLGRAPH |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
393 requires { CYGHWR_THUMB implies CYGBLD_ARM_ENABLE_THUMB_INTERWORK } |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
394 compile mcount.S |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
395 description " |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
396 Calculate whether mcount functions should be built |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
397 to support call-graph profiling." |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
398 } |
|
8b3440f8b6b6
* src/mcount.S: Add mcount functions for call-graph profiling.
jld
parents:
3173
diff
changeset
|
399 |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
400 cdl_option CYGBLD_LINKER_SCRIPT { |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
401 display "Linker script" |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
402 flavor data |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
403 no_define |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
404 calculated { "src/arm.ld" } |
|
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
405 } |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
76
diff
changeset
|
406 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
76
diff
changeset
|
407 cdl_interface CYGINT_HAL_ARM_MEM_REAL_REGION_TOP { |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
76
diff
changeset
|
408 display "Implementations of hal_arm_mem_real_region_top()" |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
76
diff
changeset
|
409 } |
|
76
435cced73e2f
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
jlarmour
parents:
diff
changeset
|
410 } |
|
202
353a011b23b8
Merge from eCos master repository on 2002-01-11-06:43:03-GMT
jlarmour
parents:
184
diff
changeset
|
411 |
|
353a011b23b8
Merge from eCos master repository on 2002-01-11-06:43:03-GMT
jlarmour
parents:
184
diff
changeset
|
412 # EOF hal_arm.cdl |
