|
1 // Copyright (c) 2008-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 minigui for Graphics and Multimedia adaptation validation 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\\wserv.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 }; |
|
86 } |
|
87 |
|
88 // |
|
89 // NON-CRITICAL startup state |
|
90 // |
|
91 RESOURCE STATE_INFO r_startup_state_non_critical |
|
92 { |
|
93 id = EStartupStateNonCritical; |
|
94 name = "Non-critical"; |
|
95 command_list = r_non_critical_commands; |
|
96 next = 0; // No more state transitions |
|
97 } |
|
98 |
|
99 RESOURCE COMMAND_ARRAY r_non_critical_commands |
|
100 { |
|
101 commands = |
|
102 { |
|
103 START_AMA_STARTER |
|
104 { |
|
105 } |
|
106 }; |
|
107 } |
|
108 |
|
109 |
|
110 |
|
111 |