|
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 // SSCForStartupMode1.rss |
|
15 // Used to bring up textshell for testing purposes. |
|
16 // |
|
17 // |
|
18 |
|
19 #include <startup.rh> |
|
20 |
|
21 // |
|
22 // ENTRY POINT |
|
23 // |
|
24 |
|
25 // THIS MUST BE THE FIRST RESOURCE. The system relies on |
|
26 // this having a resource ID of 1 |
|
27 |
|
28 RESOURCE STARTUP_ENTRY_POINT r_entry_point |
|
29 { |
|
30 entry_point = r_startup_state_critical_static; |
|
31 } |
|
32 // |
|
33 |
|
34 |
|
35 |
|
36 // |
|
37 // CRITICAL-STATIC startup state |
|
38 // |
|
39 RESOURCE STATE_INFO r_startup_state_critical_static |
|
40 { |
|
41 id = EStartupStateCriticalStatic; |
|
42 name = "Critical Static"; |
|
43 command_list = r_critical_static_commands; |
|
44 next = r_startup_state_critical_dynamic; |
|
45 } |
|
46 |
|
47 RESOURCE COMMAND_ARRAY r_critical_static_commands |
|
48 { |
|
49 commands = |
|
50 { |
|
51 START_PROCESS_INFO |
|
52 { |
|
53 path = "Z:\\sys\\bin\\sysmon.exe"; |
|
54 start_method = EWaitForStart; |
|
55 no_of_retries_on_failure = 2; |
|
56 }, |
|
57 START_PROCESS_INFO |
|
58 { |
|
59 path = "Z:\\sys\\bin\\SysAgt2Svr.exe"; |
|
60 start_method = EWaitForStart; |
|
61 no_of_retries_on_failure = 2; |
|
62 }, |
|
63 START_PROCESS_INFO |
|
64 { |
|
65 path = "Z:\\sys\\bin\\ewsrv.exe"; |
|
66 start_method = EWaitForStart; |
|
67 } |
|
68 }; |
|
69 } |
|
70 |
|
71 // |
|
72 // CRITICAL-DYNAMIC startup state |
|
73 // |
|
74 RESOURCE STATE_INFO r_startup_state_critical_dynamic |
|
75 { |
|
76 id = EStartupStateCriticalDynamic; |
|
77 name = "Critical Dynamic"; |
|
78 command_list = r_critical_dynamic_commands; |
|
79 next = r_startup_state_non_critical; |
|
80 } |
|
81 |
|
82 RESOURCE COMMAND_ARRAY r_critical_dynamic_commands |
|
83 { |
|
84 commands = |
|
85 { |
|
86 START_APP_INFO |
|
87 { |
|
88 path = "Z:\\sys\\bin\\eshell.exe"; |
|
89 viewless = 1; |
|
90 } |
|
91 |
|
92 }; |
|
93 } |
|
94 |
|
95 // |
|
96 // NON-CRITICAL startup state |
|
97 // |
|
98 RESOURCE STATE_INFO r_startup_state_non_critical |
|
99 { |
|
100 id = EStartupStateNonCritical; |
|
101 name = "Non-critical"; |
|
102 command_list = r_non_critical_commands; |
|
103 next = 0; // No more state transitions |
|
104 } |
|
105 |
|
106 RESOURCE COMMAND_ARRAY r_non_critical_commands |
|
107 { |
|
108 commands = |
|
109 { |
|
110 START_AMA_STARTER |
|
111 { |
|
112 } |
|
113 }; |
|
114 } |
|
115 |
|
116 |