]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - doc/html/user-guide/cdl-conflicts.html
Initial revision
[karo-tx-redboot.git] / doc / html / user-guide / cdl-conflicts.html
1 <!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2 <!-- This material may be distributed only subject to the terms      -->
3 <!-- and conditions set forth in the Open Publication License, v1.0  -->
4 <!-- or later (the latest version is presently available at          -->
5 <!-- http://www.opencontent.org/openpub/).                           -->
6 <!-- Distribution of the work or derivative of the work in any       -->
7 <!-- standard (paper) book form is prohibited unless prior           -->
8 <!-- permission is obtained from the copyright holder.               -->
9 <HTML
10 ><HEAD
11 ><TITLE
12 >Conflicts</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
14 <META
15 NAME="GENERATOR"
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17 "><LINK
18 REL="HOME"
19 TITLE="eCos User Guide"
20 HREF="ecos-user-guide.html"><LINK
21 REL="UP"
22 TITLE="CDL Concepts"
23 HREF="cdl-concepts.html"><LINK
24 REL="PREVIOUS"
25 TITLE="Configuration Items"
26 HREF="cdl-configuration-items.html"><LINK
27 REL="NEXT"
28 TITLE="Templates"
29 HREF="cdl-templates.html"></HEAD
30 ><BODY
31 CLASS="SECT1"
32 BGCOLOR="#FFFFFF"
33 TEXT="#000000"
34 LINK="#0000FF"
35 VLINK="#840084"
36 ALINK="#0000FF"
37 ><DIV
38 CLASS="NAVHEADER"
39 ><TABLE
40 SUMMARY="Header navigation table"
41 WIDTH="100%"
42 BORDER="0"
43 CELLPADDING="0"
44 CELLSPACING="0"
45 ><TR
46 ><TH
47 COLSPAN="3"
48 ALIGN="center"
49 >eCos User Guide</TH
50 ></TR
51 ><TR
52 ><TD
53 WIDTH="10%"
54 ALIGN="left"
55 VALIGN="bottom"
56 ><A
57 HREF="cdl-configuration-items.html"
58 ACCESSKEY="P"
59 >Prev</A
60 ></TD
61 ><TD
62 WIDTH="80%"
63 ALIGN="center"
64 VALIGN="bottom"
65 >Chapter 24. CDL Concepts</TD
66 ><TD
67 WIDTH="10%"
68 ALIGN="right"
69 VALIGN="bottom"
70 ><A
71 HREF="cdl-templates.html"
72 ACCESSKEY="N"
73 >Next</A
74 ></TD
75 ></TR
76 ></TABLE
77 ><HR
78 ALIGN="LEFT"
79 WIDTH="100%"></DIV
80 ><DIV
81 CLASS="SECT1"
82 ><H1
83 CLASS="SECT1"
84 ><A
85 NAME="CDL-CONFLICTS">Conflicts</H1
86 ><P
87 >Not all settings of configuration items will lead to a
88           coherent configuration; for example, the use of a timeout
89           facility might require the existence of timer support, so if
90           the one is required the other cannot be removed.  Coherence
91           is policed by means of consistency rules (in particular, the
92           goal expressions that appear as CDL items
93           <SPAN
94 CLASS="emphasis"
95 ><I
96 CLASS="EMPHASIS"
97 >requires</I
98 ></SPAN
99 > and
100           <SPAN
101 CLASS="emphasis"
102 ><I
103 CLASS="EMPHASIS"
104 >active_if</I
105 ></SPAN
106 > attributes [see
107           above]).  A violation of consistency rules creates a
108           <SPAN
109 CLASS="emphasis"
110 ><I
111 CLASS="EMPHASIS"
112 >conflict</I
113 ></SPAN
114 >, which must be resolved in
115           order to ensure a consistent configuration. Conflict
116           resolution can be performed manually or with the assistance
117           of the <SPAN
118 CLASS="PRODUCTNAME"
119 >eCos</SPAN
120 > tools.  Conflicts come in the following
121           flavors:</P
122 ><P
123 ></P
124 ><UL
125 ><LI
126 ><P
127 >An <SPAN
128 CLASS="emphasis"
129 ><I
130 CLASS="EMPHASIS"
131 >unresolved</I
132 ></SPAN
133 > conflict means that
134 there is a reference to an entity that is not yet in the current
135 configuration </P
136 ></LI
137 ><LI
138 ><P
139 >An <SPAN
140 CLASS="emphasis"
141 ><I
142 CLASS="EMPHASIS"
143 >illegal value</I
144 ></SPAN
145 > conflict is caused
146 when a configuration item is set to a value that is not permitted
147 (that is, a <SPAN
148 CLASS="emphasis"
149 ><I
150 CLASS="EMPHASIS"
151 >legal_values</I
152 ></SPAN
153 > goal expression
154 is failing) </P
155 ></LI
156 ><LI
157 ><P
158 >An <SPAN
159 CLASS="emphasis"
160 ><I
161 CLASS="EMPHASIS"
162 >evaluation exception</I
163 ></SPAN
164 > conflict
165 is caused when the evaluation of an expression would fail (for example,
166 because of a division by zero) </P
167 ></LI
168 ><LI
169 ><P
170 >An <SPAN
171 CLASS="emphasis"
172 ><I
173 CLASS="EMPHASIS"
174 >unsatisfied goal</I
175 ></SPAN
176 > conflict is caused
177 by a failing <SPAN
178 CLASS="emphasis"
179 ><I
180 CLASS="EMPHASIS"
181 >requires</I
182 ></SPAN
183 > goal expression </P
184 ></LI
185 ><LI
186 ><P
187 >A <SPAN
188 CLASS="emphasis"
189 ><I
190 CLASS="EMPHASIS"
191 >bad data</I
192 ></SPAN
193 > conflict arises only rarely,
194 and corresponds to badly constructed CDL.  Such a conflict can only
195 be resolved by reference to the CDL writer.</P
196 ></LI
197 ></UL
198 ></DIV
199 ><DIV
200 CLASS="NAVFOOTER"
201 ><HR
202 ALIGN="LEFT"
203 WIDTH="100%"><TABLE
204 SUMMARY="Footer navigation table"
205 WIDTH="100%"
206 BORDER="0"
207 CELLPADDING="0"
208 CELLSPACING="0"
209 ><TR
210 ><TD
211 WIDTH="33%"
212 ALIGN="left"
213 VALIGN="top"
214 ><A
215 HREF="cdl-configuration-items.html"
216 ACCESSKEY="P"
217 >Prev</A
218 ></TD
219 ><TD
220 WIDTH="34%"
221 ALIGN="center"
222 VALIGN="top"
223 ><A
224 HREF="ecos-user-guide.html"
225 ACCESSKEY="H"
226 >Home</A
227 ></TD
228 ><TD
229 WIDTH="33%"
230 ALIGN="right"
231 VALIGN="top"
232 ><A
233 HREF="cdl-templates.html"
234 ACCESSKEY="N"
235 >Next</A
236 ></TD
237 ></TR
238 ><TR
239 ><TD
240 WIDTH="33%"
241 ALIGN="left"
242 VALIGN="top"
243 >Configuration Items</TD
244 ><TD
245 WIDTH="34%"
246 ALIGN="center"
247 VALIGN="top"
248 ><A
249 HREF="cdl-concepts.html"
250 ACCESSKEY="U"
251 >Up</A
252 ></TD
253 ><TD
254 WIDTH="33%"
255 ALIGN="right"
256 VALIGN="top"
257 >Templates</TD
258 ></TR
259 ></TABLE
260 ></DIV
261 ></BODY
262 ></HTML
263 >