|
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 // Generic Startup Architecture Startup State command lists for bringing up Textshell used for test purposes. |
|
15 // |
|
16 // |
|
17 |
|
18 #include <ssm/ssmcmd.rh> |
|
19 #include <ssm/ssmsubstates.hrh> |
|
20 |
|
21 UID2 KUidSsmCommandListResourceFile |
|
22 |
|
23 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file. |
|
24 // The SSM relies on this having a resource ID of 1. |
|
25 RESOURCE SSM_COMMAND_LIST_ROOT |
|
26 { |
|
27 command_list_mapping = r_command_list_mapping; |
|
28 } |
|
29 |
|
30 RESOURCE SSM_COMMAND_LIST_MAPPING r_command_list_mapping |
|
31 { |
|
32 mappings = |
|
33 { |
|
34 SSM_COMMANDLISTID_TO_RESOURCEID |
|
35 { |
|
36 command_list_id = ESsmStartupSubStateCriticalStatic; |
|
37 resource_id = r_critical_static_commands; |
|
38 }, |
|
39 SSM_COMMANDLISTID_TO_RESOURCEID |
|
40 { |
|
41 command_list_id = ESsmStartupSubStateCriticalDynamic; |
|
42 resource_id = r_critical_dynamic_commands; |
|
43 }, |
|
44 SSM_COMMANDLISTID_TO_RESOURCEID |
|
45 { |
|
46 command_list_id = ESsmStartupSubStateNonCritical; |
|
47 resource_id = r_non_critical_commands; |
|
48 } |
|
49 }; |
|
50 } |
|
51 |
|
52 |
|
53 RESOURCE SSM_COMMAND_LIST r_critical_static_commands |
|
54 { |
|
55 commands = |
|
56 { |
|
57 r_command_publish_system_state |
|
58 , r_command_ssmutilsrv |
|
59 , r_command_sysmon |
|
60 , r_command_sysagt2svr |
|
61 , r_command_ewsrv |
|
62 }; |
|
63 } |
|
64 |
|
65 RESOURCE SSM_COMMAND_LIST r_critical_dynamic_commands |
|
66 { |
|
67 commands = |
|
68 { |
|
69 r_command_publish_system_state |
|
70 }; |
|
71 } |
|
72 |
|
73 RESOURCE SSM_COMMAND_LIST r_non_critical_commands |
|
74 { |
|
75 commands = |
|
76 { |
|
77 r_command_publish_system_state |
|
78 , r_command_ama_starter |
|
79 }; |
|
80 } |
|
81 |
|
82 |
|
83 RESOURCE SSM_START_PROCESS_INFO r_command_ssmutilsrv |
|
84 { |
|
85 severity = ECmdCriticalSeverity; |
|
86 name = "ssmutilsrv.exe"; |
|
87 execution_behaviour = ESsmWaitForSignal; |
|
88 retries = 2; |
|
89 } |
|
90 |
|
91 RESOURCE SSM_START_PROCESS_INFO r_command_sysmon |
|
92 { |
|
93 severity = ECmdCriticalSeverity; |
|
94 name = "sysmon.exe"; |
|
95 execution_behaviour = ESsmWaitForSignal; |
|
96 retries = 2; |
|
97 } |
|
98 |
|
99 RESOURCE SSM_START_PROCESS_INFO r_command_sysagt2svr |
|
100 { |
|
101 severity = ECmdCriticalSeverity; |
|
102 name = "SysAgt2Svr.exe"; |
|
103 execution_behaviour = ESsmWaitForSignal; |
|
104 retries = 2; |
|
105 } |
|
106 |
|
107 RESOURCE SSM_START_PROCESS_INFO r_command_ewsrv |
|
108 { |
|
109 severity = ECmdCriticalSeverity; |
|
110 name = "ewsrv.exe"; |
|
111 execution_behaviour = ESsmWaitForSignal; |
|
112 } |
|
113 |
|
114 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state |
|
115 { |
|
116 severity = ECmdCriticalSeverity; |
|
117 } |
|
118 |
|
119 RESOURCE SSM_START_AMA_STARTER r_command_ama_starter |
|
120 { |
|
121 severity = ECmdIgnoreFailure; |
|
122 dsc_id = 0x2000836D; // removing this id will cause a rcomp failure unless dsc_id is #defined in ssmcmd.rh file. |
|
123 } |
|
124 |
|
125 |