comparison packages/hal/common/current/cdl/common.cdl @ 76:435cced73e2f ecos-v1_3_1-release

eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
author jlarmour
date Tue, 28 Mar 2000 14:10:45 +0000
parents
children 25e238959bae
comparison
equal deleted inserted replaced
75:41bf073c0c32 76:435cced73e2f
1 # ====================================================================
2 #
3 # common.cdl
4 #
5 # HAL common configuration data
6 #
7 # ====================================================================
8 #####COPYRIGHTBEGIN####
9 #
10 # -------------------------------------------
11 # The contents of this file are subject to the Red Hat eCos Public License
12 # Version 1.1 (the "License"); you may not use this file except in
13 # compliance with the License. You may obtain a copy of the License at
14 # http://www.redhat.com/
15 #
16 # Software distributed under the License is distributed on an "AS IS"
17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
18 # License for the specific language governing rights and limitations under
19 # the License.
20 #
21 # The Original Code is eCos - Embedded Configurable Operating System,
22 # released September 30, 1998.
23 #
24 # The Initial Developer of the Original Code is Red Hat.
25 # Portions created by Red Hat are
26 # Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
27 # All Rights Reserved.
28 # -------------------------------------------
29 #
30 #####COPYRIGHTEND####
31 # ====================================================================
32 ######DESCRIPTIONBEGIN####
33 #
34 # Author(s): jskov
35 # Original data: nickg,jskov,jlarmour
36 # Contributors:
37 # Date: 1999-07-02
38 #
39 #####DESCRIPTIONEND####
40 #
41 # ====================================================================
42
43 cdl_option CYGFUN_HAL_COMMON_KERNEL_SUPPORT {
44 display "Provide eCos kernel support"
45 requires CYGPKG_KERNEL
46 default_value CYGPKG_KERNEL
47 description "
48 The HAL can be configured to either support the full eCos
49 kernel, or to support only very simple applications which do
50 not require a full kernel. If kernel support is not required
51 then some of the startup, exception, and interrupt handling
52 code can be eliminated."
53 }
54
55 cdl_interface CYGINT_HAL_DIAG_DISABLE_GDB_PROTOCOL_SUPPORTED {
56 display "HAL allows GDB protocol to be disabled for..."
57 no_define
58 }
59
60 cdl_option CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL {
61 display "Disable GDB protocol for diagnostic output"
62 active_if CYGINT_HAL_DIAG_DISABLE_GDB_PROTOCOL_SUPPORTED
63 default_value 0
64 description "
65 This option forces diagnostic output to not use the GDB
66 protocol. Most programs will use the GDB protocol for
67 diagnostic I/O because of the environment. This option
68 allows for an explicit override in these cases."
69 }
70
71 # NOTE: The requirement for kernel exception support is bogus in that
72 # the user can supply a deliver_exception function herself. In that
73 # case, however, it is easy to force the kernel option off while leaving
74 # this one on. Having the requirement prevents accidental invalid
75 # configurations of the kernel.
76 cdl_option CYGPKG_HAL_EXCEPTIONS {
77 display "HAL exception support"
78 requires CYGPKG_KERNEL_EXCEPTIONS
79 default_value CYGPKG_KERNEL_EXCEPTIONS
80 description "
81 When a processor exception occurs, for example an attempt to
82 execute an illegal instruction or to perform a divide by
83 zero, this exception may be handled in a number of different
84 ways. If the target system has gdb support then typically
85 the exception will be handled by gdb code. Otherwise if the
86 HAL exception support is enabled then the HAL will invoke a
87 routine deliver_exception(). Typically this routine will be
88 provided by the eCos kernel, but it is possible for
89 application code to provide its own implementation. If the
90 HAL exception support is not enabled and a processor
91 exception occurs then the behaviour of the system is
92 undefined."
93 }
94
95 cdl_option CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG {
96 display "Stop calling constructors early"
97 requires CYGSEM_LIBC_INVOKE_DEFAULT_STATIC_CONSTRUCTORS
98 default_value 0
99 description "
100 This option supports environments where some constructors
101 must be run in the context of a thread rather than at
102 simple system startup time. A boolean flag named
103 cyg_hal_stop_constructors is set to 1 when constructors
104 should no longer be invoked. It is up to some other
105 package to deal with the rest of the constructors.
106 In the current version this is only possible with the
107 C library."
108 }
109
110 cdl_option CYGSEM_HAL_INSTALL_MMU_TABLES {
111 display "Install MMU tables."
112 default_value 1
113 description "This option controls whether this application installs
114 its own Memory Management Unit (MMU) tables, or relies on the
115 existing environment to run."
116 }
117
118 cdl_option CYGSEM_HAL_STATIC_MMU_TABLES {
119 display "Use static MMU tables."
120 default_value 0
121 requires CYGSEM_HAL_INSTALL_MMU_TABLES
122 description "This option defines an environment where any Memory
123 Management Unit (MMU) tables are constant. Normally used by ROM
124 based environments, this provides a way to save RAM usage which
125 would otherwise be required for these tables."
126 }
127