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

Generated by  doxygen 1.6.2