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 // 00015 00016 #include "startup.rh" 00017 00019 // ENTRY POINT 00021 00022 // THIS MUST BE THE FIRST RESOURCE. The system relies on 00023 // this having a resource ID of 1 00024 00025 RESOURCE STARTUP_ENTRY_POINT r_entry_point 00026 { 00027 entry_point = r_startup_state_critical_static; 00028 } 00030 00031 00032 00034 // CRITICAL-STATIC startup state 00036 RESOURCE STATE_INFO r_startup_state_critical_static 00037 { 00038 id = EStartupStateCriticalStatic; 00039 name = "Critical Static"; 00040 command_list = r_critical_static_commands; 00041 next = r_startup_state_critical_dynamic; 00042 } 00043 00044 RESOURCE COMMAND_ARRAY r_critical_static_commands 00045 { 00046 commands = 00047 { 00048 START_PROCESS_INFO 00049 { 00050 path = "Z:\\sys\\bin\\SysAgt2Svr.exe"; 00051 start_method = EWaitForStart; 00052 no_of_retries_on_failure = 2; 00053 }, 00054 00055 START_PROCESS_INFO 00056 { 00057 path = "Z:\\sys\\bin\\fbserv.exe"; 00058 start_method = EWaitForStart; 00059 no_of_retries_on_failure = 1; 00060 }, 00061 START_PROCESS_INFO 00062 { 00063 path = "Z:\\sys\\bin\\wserv.exe"; 00064 args = "-NoShell"; 00065 start_method = EWaitForStart; 00066 }, 00067 SPLASH_SCREEN 00068 { 00069 path = "Z:\\sys\\bin\\splash.exe"; 00070 }, 00071 START_PROCESS_INFO 00072 { 00073 path = "Z:\\system\\programs\\eiksrvs.exe"; 00074 args = "-OnlyStartDependentServers"; 00075 start_method = EWaitForStart; 00076 }, 00077 START_PROCESS_INFO 00078 { 00079 path = "Z:\\sys\\bin\\sisregistryserver.exe"; 00080 start_method = EWaitForStart; 00081 }, 00082 00083 START_PROCESS_INFO 00084 { 00085 path = "Z:\\sys\\bin\\tzserver.exe"; 00086 start_method = EWaitForStart; 00087 } 00088 }; 00089 } 00090 00092 // CRITICAL-DYNAMIC startup state 00094 RESOURCE STATE_INFO r_startup_state_critical_dynamic 00095 { 00096 id = EStartupStateCriticalDynamic; 00097 name = "Critical Dynamic"; 00098 command_list = r_critical_dynamic_commands; 00099 next = r_startup_state_non_critical; 00100 } 00101 00102 RESOURCE COMMAND_ARRAY r_critical_dynamic_commands 00103 { 00104 commands = 00105 { 00106 START_PROCESS_INFO 00107 { 00108 path = "Z:\\sys\\bin\\watcher.exe"; 00109 fail_on_error = 0; 00110 }, 00111 SPLASH_SCREEN 00112 { 00113 kill = 1; 00114 } 00115 00116 }; 00117 } 00118 00120 // NON-CRITICAL startup state 00122 RESOURCE STATE_INFO r_startup_state_non_critical 00123 { 00124 id = EStartupStateNonCritical; 00125 name = "Non-critical"; 00126 command_list = r_non_critical_commands; 00127 next = 0; // No more state transitions 00128 } 00129 00130 RESOURCE COMMAND_ARRAY r_non_critical_commands 00131 { 00132 commands = 00133 { 00134 START_PROCESS_INFO 00135 { 00136 path = "Z:\\system\\programs\\apsexe.exe"; 00137 start_method = EWaitForStart; 00138 }, 00139 START_APP_INFO 00140 { 00141 path = "Z:\\sys\\bin\\shell.exe"; // Requires apparc to be properly started 00142 viewless = 1; 00143 }, 00144 START_PROCESS_INFO 00145 { 00146 path = "Z:\\sys\\bin\\SystemAMS.exe"; 00147 args = "-boot"; 00148 fail_on_error = 0; 00149 }, 00150 START_PROCESS_INFO 00151 { 00152 path = "Z:\\sys\\bin\\swidaemon.exe"; 00153 start_method = EWaitForStart; 00154 } 00155 }; 00156 } 00157 00158
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.