|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // SSCForStartupMode0.rss |
|
15 // Modified default resource file to test graphics |
|
16 // Modifications: |
|
17 // - addition of eshell |
|
18 // |
|
19 // |
|
20 |
|
21 #include "startup.rh" |
|
22 |
|
23 // |
|
24 // ENTRY POINT |
|
25 // |
|
26 |
|
27 // THIS MUST BE THE FIRST RESOURCE. The system relies on |
|
28 // this having a resource ID of 1 |
|
29 |
|
30 RESOURCE STARTUP_ENTRY_POINT r_entry_point |
|
31 { |
|
32 entry_point = r_startup_state_critical_static; |
|
33 } |
|
34 // |
|
35 |
|
36 |
|
37 |
|
38 // |
|
39 // CRITICAL-STATIC startup state |
|
40 // |
|
41 RESOURCE STATE_INFO r_startup_state_critical_static |
|
42 { |
|
43 id = EStartupStateCriticalStatic; |
|
44 name = "Critical Static"; |
|
45 command_list = r_critical_static_commands; |
|
46 next = r_startup_state_critical_dynamic; |
|
47 } |
|
48 |
|
49 RESOURCE COMMAND_ARRAY r_critical_static_commands |
|
50 { |
|
51 commands = |
|
52 { |
|
53 START_PROCESS_INFO |
|
54 { |
|
55 path = "Z:\\sys\\bin\\SysAgt2Svr.exe"; |
|
56 start_method = EWaitForStart; |
|
57 no_of_retries_on_failure = 2; |
|
58 }, |
|
59 START_PROCESS_INFO |
|
60 { |
|
61 path = "Z:\\sys\\bin\\fbserv.exe"; |
|
62 start_method = EWaitForStart; |
|
63 no_of_retries_on_failure = 1; |
|
64 }, |
|
65 START_PROCESS_INFO |
|
66 { |
|
67 path = "Z:\\sys\\bin\\ewsrv.exe"; |
|
68 args = "-NoShell"; |
|
69 start_method = EWaitForStart; |
|
70 }, |
|
71 SPLASH_SCREEN |
|
72 { |
|
73 path = "Z:\\sys\\bin\\splash.exe"; |
|
74 }, |
|
75 START_PROCESS_INFO |
|
76 { |
|
77 path = "Z:\\sys\\bin\\eiksrvs.exe"; |
|
78 args = "-OnlyStartDependentServers"; |
|
79 start_method = EWaitForStart; |
|
80 }, |
|
81 START_PROCESS_INFO |
|
82 { |
|
83 path = "Z:\\sys\\bin\\tzserver.exe"; |
|
84 start_method = EWaitForStart; |
|
85 } |
|
86 }; |
|
87 } |
|
88 |
|
89 // |
|
90 // CRITICAL-DYNAMIC startup state |
|
91 // |
|
92 RESOURCE STATE_INFO r_startup_state_critical_dynamic |
|
93 { |
|
94 id = EStartupStateCriticalDynamic; |
|
95 name = "Critical Dynamic"; |
|
96 command_list = r_critical_dynamic_commands; |
|
97 next = r_startup_state_networking_critical; |
|
98 } |
|
99 |
|
100 RESOURCE COMMAND_ARRAY r_critical_dynamic_commands |
|
101 { |
|
102 commands = |
|
103 { |
|
104 START_PROCESS_INFO |
|
105 { |
|
106 path = "Z:\\sys\\bin\\initialiselocale.exe"; |
|
107 start_method = EWaitForStart; |
|
108 fail_on_error = EIgnoreCommandFailure; |
|
109 }, |
|
110 START_PROCESS_INFO |
|
111 { |
|
112 path = "Z:\\sys\\bin\\apsexe.exe"; |
|
113 start_method = EWaitForStart; // this is the only method allowable for apsexe.exe |
|
114 }, |
|
115 START_APP_INFO |
|
116 { |
|
117 path = "Z:\\sys\\bin\\shell.exe"; // Requires apparc to be properly started |
|
118 start_method = EDeferredWaitForStart; |
|
119 viewless = 1; |
|
120 }, |
|
121 MULTIPLE_WAIT |
|
122 { |
|
123 timeout = 0; |
|
124 fail_on_error = EPanicOnCommandFailure; |
|
125 }, |
|
126 SPLASH_SCREEN |
|
127 { |
|
128 kill = 1; |
|
129 } |
|
130 }; |
|
131 } |
|
132 |
|
133 // |
|
134 // Networking-CRITICAL startup state |
|
135 // |
|
136 RESOURCE STATE_INFO r_startup_state_networking_critical |
|
137 { |
|
138 id = EStartupStateNetworkingCritical; |
|
139 name = "Networking-Critical"; |
|
140 command_list = r_networking_critical_commands; |
|
141 next = r_startup_state_non_critical; |
|
142 } |
|
143 |
|
144 RESOURCE COMMAND_ARRAY r_networking_critical_commands |
|
145 { |
|
146 commands = |
|
147 { |
|
148 START_PROCESS_INFO |
|
149 { |
|
150 path = "Z:\\sys\\bin\\c32start.exe"; |
|
151 start_method = EWaitForStart; |
|
152 }, |
|
153 START_PROCESS_INFO |
|
154 { |
|
155 path = "Z:\\sys\\bin\\msexe.exe"; |
|
156 start_method = EWaitForStart; |
|
157 }, |
|
158 START_PROCESS_INFO |
|
159 { |
|
160 path = "Z:\\sys\\bin\\watcher.exe"; |
|
161 start_method = EWaitForStart; |
|
162 } |
|
163 }; |
|
164 } |
|
165 |
|
166 // |
|
167 // NON-CRITICAL startup state |
|
168 // |
|
169 RESOURCE STATE_INFO r_startup_state_non_critical |
|
170 { |
|
171 id = EStartupStateNonCritical; |
|
172 name = "Non-critical"; |
|
173 command_list = r_non_critical_commands; |
|
174 next = 0; // No more state transitions |
|
175 } |
|
176 |
|
177 RESOURCE COMMAND_ARRAY r_non_critical_commands |
|
178 { |
|
179 commands = |
|
180 { |
|
181 START_APP_INFO |
|
182 { |
|
183 path = "Z:\\sys\\bin\\eshell.exe"; |
|
184 viewless = 1; |
|
185 }, |
|
186 START_PROCESS_INFO |
|
187 { |
|
188 path = "Z:\\sys\\bin\\SystemAMS.exe"; |
|
189 args = "-boot"; |
|
190 fail_on_error = EIgnoreCommandFailure; |
|
191 }, |
|
192 START_PROCESS_INFO |
|
193 { |
|
194 path = "Z:\\sys\\bin\\swidaemon.exe"; |
|
195 start_method = EWaitForStart; |
|
196 }, |
|
197 START_PROCESS_INFO |
|
198 { |
|
199 path = "Z:\\sys\\bin\\cntsrv.exe"; |
|
200 args = "-nontransient"; |
|
201 fail_on_error = 0; |
|
202 }, |
|
203 START_PROCESS_INFO |
|
204 { |
|
205 path = "Z:\\sys\\bin\\agsvexe.exe"; |
|
206 args = "-nontransient"; |
|
207 fail_on_error = 0; |
|
208 }, |
|
209 START_PROCESS_INFO |
|
210 { |
|
211 path = "Z:\\sys\\bin\\fotaagent.exe"; |
|
212 fail_on_error = EIgnoreCommandFailure; |
|
213 }, |
|
214 START_PROCESS_INFO |
|
215 { |
|
216 path = "z:\\sys\\bin\\Fepswitch.exe"; |
|
217 start_method = EFireAndForget; |
|
218 fail_on_error = EIgnoreCommandFailure; |
|
219 }, |
|
220 START_PROCESS_INFO |
|
221 { |
|
222 path = "Z:\\sys\\bin\\schexe.exe"; |
|
223 args = "sysstartschexe"; // Command line parameter passed to schexe.exe |
|
224 fail_on_error = EIgnoreCommandFailure; //Task Scheduler may have already been started by a client |
|
225 } |
|
226 }; |
|
227 } |
|
228 |
|
229 |