examples/AppFramework/egsysStart/resource/armv5/SSCForStartupMode5_target.rss

00001 /*
00002 Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
00003 
00004 Redistribution and use in source and binary forms, with or without
00005 modification, are permitted provided that the following conditions are met:
00006 
00007 * Redistributions of source code must retain the above copyright notice, this
00008   list of conditions and the following disclaimer.
00009 * Redistributions in binary form must reproduce the above copyright notice,
00010   this list of conditions and the following disclaimer in the documentation
00011   and/or other materials provided with the distribution.
00012 * Neither the name of Nokia Corporation nor the names of its contributors
00013   may be used to endorse or promote products derived from this software
00014   without specific prior written permission.
00015 
00016 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00017 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00018 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00019 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00020 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00021 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00022 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00023 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00024 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00025 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026 
00027 Description:  
00028 */
00029 
00030 #include <startup.rh>
00031 
00033 // ENTRY POINT
00035 
00036 // THIS MUST BE THE FIRST RESOURCE. The system relies on
00037 // this having a resource ID of 1
00038 
00039 RESOURCE STARTUP_ENTRY_POINT r_entry_point
00040         {
00041         entry_point = r_startup_state_critical_static; 
00042         }
00044 
00045 
00046 
00048 // CRITICAL-STATIC startup state
00050 RESOURCE STATE_INFO r_startup_state_critical_static
00051         {
00052         id = EStartupStateCriticalStatic;
00053         name = "Critical Static";
00054         command_list = r_critical_static_commands;
00055         next = r_startup_state_critical_dynamic;
00056         }
00057 
00058 RESOURCE COMMAND_ARRAY r_critical_static_commands
00059         {
00060         commands =
00061                 {
00062                 START_PROCESS_INFO
00063                         {
00064                         path = "Z:\\sys\\bin\\SysAgt2Svr.exe"; 
00065                         start_method = EWaitForStart;
00066                         no_of_retries_on_failure = 2;
00067                         },
00068                          
00069                 START_PROCESS_INFO
00070                         {
00071                         path = "Z:\\sys\\bin\\fbserv.exe";
00072                         start_method = EWaitForStart;
00073                         no_of_retries_on_failure = 1;
00074                         },
00075                 START_PROCESS_INFO
00076                         {
00077                         path = "Z:\\sys\\bin\\wserv.exe";
00078                         args = "-NoShell";
00079                         start_method = EWaitForStart;
00080                         },
00081                 SPLASH_SCREEN
00082                         {
00083                         path = "Z:\\sys\\bin\\splash.exe";
00084                         },
00085                 START_PROCESS_INFO
00086                         {
00087                         path = "Z:\\system\\programs\\eiksrvs.exe";
00088                         args = "-OnlyStartDependentServers";
00089                         start_method = EWaitForStart;
00090                         },
00091                 START_PROCESS_INFO
00092                         {
00093                         path = "Z:\\sys\\bin\\sisregistryserver.exe";
00094                         start_method = EWaitForStart;
00095                         },
00096                 
00097                 START_PROCESS_INFO
00098                         {
00099                         path = "Z:\\sys\\bin\\tzserver.exe";
00100                         start_method = EWaitForStart;
00101                         }       
00102                 };
00103         }
00104 
00106 // CRITICAL-DYNAMIC startup state
00108 RESOURCE STATE_INFO r_startup_state_critical_dynamic
00109         {
00110         id = EStartupStateCriticalDynamic;
00111         name = "Critical Dynamic";
00112         command_list = r_critical_dynamic_commands;
00113         next = r_startup_state_non_critical;
00114         }
00115 
00116 RESOURCE COMMAND_ARRAY r_critical_dynamic_commands
00117         {
00118         commands =
00119                 {
00120                 START_PROCESS_INFO
00121                         {
00122                         path = "Z:\\sys\\bin\\watcher.exe";
00123                         fail_on_error = 0;
00124                         },
00125                 SPLASH_SCREEN
00126                         {
00127                         kill = 1;
00128                         }
00129 
00130                 };
00131         }
00132 
00134 // NON-CRITICAL startup state
00136 RESOURCE STATE_INFO r_startup_state_non_critical
00137         {
00138         id = EStartupStateNonCritical;
00139         name = "Non-critical";
00140         command_list = r_non_critical_commands;
00141         next = 0;       // No more state transitions
00142         }
00143 
00144 RESOURCE COMMAND_ARRAY r_non_critical_commands
00145         {
00146         commands =
00147                 {
00148                 START_PROCESS_INFO
00149                         {
00150                         path = "Z:\\system\\programs\\apsexe.exe";
00151                         start_method = EWaitForStart;
00152                         },
00153                 START_APP_INFO
00154                         {
00155                         path = "Z:\\sys\\bin\\shell.exe";       // Requires apparc to be properly started
00156                         viewless = 1;    
00157                         },
00158                 START_PROCESS_INFO
00159                         {
00160                         path = "Z:\\sys\\bin\\SystemAMS.exe";
00161                         args = "-boot";
00162                         fail_on_error = 0;
00163                         },
00164                 START_PROCESS_INFO
00165                         {
00166                         path = "Z:\\sys\\bin\\swidaemon.exe";
00167                         start_method = EWaitForStart;
00168                         }
00169                 };
00170         }
00171 
00172 

Generated by  doxygen 1.6.2