00001 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // SSCForStartupMode5.rss 00015 // 00016 00017 #include "startup.rh" 00018 00020 // ENTRY POINT 00022 00023 // THIS MUST BE THE FIRST RESOURCE. The system relies on 00024 // this having a resource ID of 1 00025 00026 RESOURCE STARTUP_ENTRY_POINT r_entry_point 00027 { 00028 entry_point = r_startup_state_critical_static; 00029 } 00031 00032 00033 00035 // CRITICAL-STATIC startup state 00037 RESOURCE STATE_INFO r_startup_state_critical_static 00038 { 00039 id = EStartupStateCriticalStatic; 00040 name = "Critical Static"; 00041 command_list = r_critical_static_commands; 00042 next = r_startup_state_critical_dynamic; 00043 } 00044 00045 RESOURCE COMMAND_ARRAY r_critical_static_commands 00046 { 00047 commands = 00048 { 00049 START_PROCESS_INFO 00050 { 00051 path = "Z:\\sys\\bin\\SysAgt2Svr.exe"; 00052 start_method = EWaitForStart; 00053 no_of_retries_on_failure = 2; 00054 }, 00055 00056 START_PROCESS_INFO 00057 { 00058 path = "Z:\\sys\\bin\\fbserv.exe"; 00059 start_method = EWaitForStart; 00060 no_of_retries_on_failure = 1; 00061 }, 00062 START_PROCESS_INFO 00063 { 00064 path = "Z:\\sys\\bin\\wserv.exe"; 00065 args = "-NoShell"; 00066 start_method = EWaitForStart; 00067 }, 00068 SPLASH_SCREEN 00069 { 00070 path = "Z:\\sys\\bin\\splash.exe"; 00071 }, 00072 START_PROCESS_INFO 00073 { 00074 path = "Z:\\system\\programs\\eiksrvs.exe"; 00075 args = "-OnlyStartDependentServers"; 00076 start_method = EWaitForStart; 00077 }, 00078 START_PROCESS_INFO 00079 { 00080 path = "Z:\\sys\\bin\\sisregistryserver.exe"; 00081 start_method = EWaitForStart; 00082 }, 00083 00084 START_PROCESS_INFO 00085 { 00086 path = "Z:\\sys\\bin\\tzserver.exe"; 00087 start_method = EWaitForStart; 00088 } 00089 }; 00090 } 00091 00093 // CRITICAL-DYNAMIC startup state 00095 RESOURCE STATE_INFO r_startup_state_critical_dynamic 00096 { 00097 id = EStartupStateCriticalDynamic; 00098 name = "Critical Dynamic"; 00099 command_list = r_critical_dynamic_commands; 00100 next = r_startup_state_non_critical; 00101 } 00102 00103 RESOURCE COMMAND_ARRAY r_critical_dynamic_commands 00104 { 00105 commands = 00106 { 00107 START_PROCESS_INFO 00108 { 00109 path = "Z:\\sys\\bin\\watcher.exe"; 00110 fail_on_error = 0; 00111 }, 00112 SPLASH_SCREEN 00113 { 00114 kill = 1; 00115 } 00116 00117 }; 00118 } 00119 00121 // NON-CRITICAL startup state 00123 RESOURCE STATE_INFO r_startup_state_non_critical 00124 { 00125 id = EStartupStateNonCritical; 00126 name = "Non-critical"; 00127 command_list = r_non_critical_commands; 00128 next = 0; // No more state transitions 00129 } 00130 00131 RESOURCE COMMAND_ARRAY r_non_critical_commands 00132 { 00133 commands = 00134 { 00135 START_PROCESS_INFO 00136 { 00137 path = "Z:\\system\\programs\\apsexe.exe"; 00138 start_method = EWaitForStart; 00139 }, 00140 START_APP_INFO 00141 { 00142 path = "Z:\\sys\\bin\\shell.exe"; // Requires apparc to be properly started 00143 viewless = 1; 00144 }, 00145 START_PROCESS_INFO 00146 { 00147 path = "Z:\\sys\\bin\\SystemAMS.exe"; 00148 args = "-boot"; 00149 fail_on_error = 0; 00150 }, 00151 START_PROCESS_INFO 00152 { 00153 path = "Z:\\sys\\bin\\swidaemon.exe"; 00154 start_method = EWaitForStart; 00155 } 00156 }; 00157 } 00158 00159
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.