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