sf_config/rombuild/syborg/systemstarter/SSCForStartupMode1.rss
branchRCL_3
changeset 16 4a76c5fd669b
equal deleted inserted replaced
10:d9b045c41e83 16:4a76c5fd669b
       
     1 // Copyright (c) 2005-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Used for bringing up textshell for test purposes.
       
    15 // 
       
    16 //
       
    17 
       
    18 #include "startup.rh"
       
    19 
       
    20 /////////////////////////////////////////////
       
    21 // ENTRY POINT
       
    22 /////////////////////////////////////////////
       
    23 
       
    24 // THIS MUST BE THE FIRST RESOURCE. The system relies on
       
    25 // this having a resource ID of 1
       
    26 
       
    27 RESOURCE STARTUP_ENTRY_POINT r_entry_point
       
    28 	{
       
    29 	entry_point = r_startup_state_critical_static; 
       
    30 	}
       
    31 /////////////////////////////////////////////
       
    32 
       
    33 
       
    34 
       
    35 /////////////////////////////////////////////
       
    36 // CRITICAL-STATIC startup state
       
    37 /////////////////////////////////////////////
       
    38 RESOURCE STATE_INFO r_startup_state_critical_static
       
    39 	{
       
    40 	id = EStartupStateCriticalStatic;
       
    41 	name = "Critical Static";
       
    42 	command_list = r_critical_static_commands;
       
    43 	next = r_startup_state_critical_dynamic;
       
    44 	}
       
    45 
       
    46 RESOURCE COMMAND_ARRAY r_critical_static_commands
       
    47 	{
       
    48 	commands =
       
    49 		{
       
    50 #ifdef SYMBIAN_PROCESS_MONITORING_AND_STARTUP
       
    51 		START_PROCESS_INFO
       
    52 			{
       
    53 			path = "Z:\\sys\\bin\\sysmon.exe";
       
    54 			start_method = EWaitForStart;
       
    55 			no_of_retries_on_failure = 2;
       
    56 			},
       
    57 #endif
       
    58 		START_PROCESS_INFO
       
    59 			{
       
    60 			path = "Z:\\sys\\bin\\SysAgt2Svr.exe"; 
       
    61 			start_method = EWaitForStart;
       
    62 			no_of_retries_on_failure = 2;
       
    63 			},
       
    64 		START_PROCESS_INFO
       
    65 			{
       
    66 			path = "Z:\\sys\\bin\\ewsrv.exe";
       
    67 			start_method = EWaitForStart;
       
    68 			} 	 
       
    69 		};
       
    70 	}
       
    71 
       
    72 /////////////////////////////////////////////
       
    73 // CRITICAL-DYNAMIC startup state
       
    74 /////////////////////////////////////////////
       
    75 RESOURCE STATE_INFO r_startup_state_critical_dynamic
       
    76 	{
       
    77 	id = EStartupStateCriticalDynamic;
       
    78 	name = "Critical Dynamic";
       
    79 	command_list = r_critical_dynamic_commands;
       
    80 	next = r_startup_state_non_critical;
       
    81 	}
       
    82 
       
    83 RESOURCE COMMAND_ARRAY r_critical_dynamic_commands
       
    84 	{
       
    85 	commands =
       
    86 		{
       
    87 		 START_APP_INFO
       
    88 			{
       
    89 			path = "Z:\\sys\\bin\\eshell.exe";
       
    90 			viewless = 1;
       
    91 			}
       
    92 		};
       
    93 	}
       
    94 
       
    95 /////////////////////////////////////////////
       
    96 // NON-CRITICAL startup state
       
    97 /////////////////////////////////////////////
       
    98 RESOURCE STATE_INFO r_startup_state_non_critical
       
    99 	{
       
   100 	id = EStartupStateNonCritical;
       
   101 	name = "Non-critical";
       
   102 	command_list = r_non_critical_commands;
       
   103 	next = 0;	// No more state transitions
       
   104 	}
       
   105 
       
   106 RESOURCE COMMAND_ARRAY r_non_critical_commands
       
   107 	{
       
   108 	commands =
       
   109 		{
       
   110 #ifdef SYMBIAN_PROCESS_MONITORING_AND_STARTUP
       
   111 		START_AMA_STARTER
       
   112 			{
       
   113 			} 
       
   114 #endif
       
   115 		};
       
   116 	}