author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
sl@0 | 1 |
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 2 |
// All rights reserved. |
sl@0 | 3 |
// This component and the accompanying materials are made available |
sl@0 | 4 |
// under the terms of "Eclipse Public License v1.0" |
sl@0 | 5 |
// which accompanies this distribution, and is available |
sl@0 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
sl@0 | 7 |
// |
sl@0 | 8 |
// Initial Contributors: |
sl@0 | 9 |
// Nokia Corporation - initial contribution. |
sl@0 | 10 |
// |
sl@0 | 11 |
// Contributors: |
sl@0 | 12 |
// |
sl@0 | 13 |
// Description: |
sl@0 | 14 |
// |
sl@0 | 15 |
|
sl@0 | 16 |
#include "startup.rh" |
sl@0 | 17 |
|
sl@0 | 18 |
// This file has been based on |
sl@0 | 19 |
// app-framework/sysstart/resource/wins/SSCForStartupMode0.rss |
sl@0 | 20 |
// It is customized for running the wserv tests using wshell. |
sl@0 | 21 |
// |
sl@0 | 22 |
// ENTRY POINT |
sl@0 | 23 |
// |
sl@0 | 24 |
|
sl@0 | 25 |
// THIS MUST BE THE FIRST RESOURCE. The system relies on |
sl@0 | 26 |
// this having a resource ID of 1 |
sl@0 | 27 |
|
sl@0 | 28 |
RESOURCE STARTUP_ENTRY_POINT r_entry_point |
sl@0 | 29 |
{ |
sl@0 | 30 |
entry_point = r_startup_state_critical_static; |
sl@0 | 31 |
} |
sl@0 | 32 |
// |
sl@0 | 33 |
|
sl@0 | 34 |
|
sl@0 | 35 |
|
sl@0 | 36 |
// |
sl@0 | 37 |
// CRITICAL-STATIC startup state |
sl@0 | 38 |
// |
sl@0 | 39 |
RESOURCE STATE_INFO r_startup_state_critical_static |
sl@0 | 40 |
{ |
sl@0 | 41 |
id = EStartupStateCriticalStatic; |
sl@0 | 42 |
name = "Critical Static"; |
sl@0 | 43 |
command_list = r_critical_static_commands; |
sl@0 | 44 |
next = r_startup_state_critical_dynamic; |
sl@0 | 45 |
} |
sl@0 | 46 |
|
sl@0 | 47 |
RESOURCE COMMAND_ARRAY r_critical_static_commands |
sl@0 | 48 |
{ |
sl@0 | 49 |
commands = |
sl@0 | 50 |
{ |
sl@0 | 51 |
START_PROCESS_INFO |
sl@0 | 52 |
{ |
sl@0 | 53 |
path = "Z:\\sys\\bin\\SysAgt2Svr.exe"; |
sl@0 | 54 |
start_method = EWaitForStart; |
sl@0 | 55 |
no_of_retries_on_failure = 2; |
sl@0 | 56 |
}, |
sl@0 | 57 |
START_PROCESS_INFO |
sl@0 | 58 |
{ |
sl@0 | 59 |
path = "Z:\\sys\\bin\\fbserv.exe"; |
sl@0 | 60 |
start_method = EWaitForStart; |
sl@0 | 61 |
no_of_retries_on_failure = 1; |
sl@0 | 62 |
}, |
sl@0 | 63 |
START_PROCESS_INFO |
sl@0 | 64 |
{ |
sl@0 | 65 |
path = "Z:\\sys\\bin\\wserv.exe"; |
sl@0 | 66 |
start_method = EWaitForStart; |
sl@0 | 67 |
} |
sl@0 | 68 |
}; |
sl@0 | 69 |
} |
sl@0 | 70 |
|
sl@0 | 71 |
// |
sl@0 | 72 |
// CRITICAL-DYNAMIC startup state |
sl@0 | 73 |
// |
sl@0 | 74 |
RESOURCE STATE_INFO r_startup_state_critical_dynamic |
sl@0 | 75 |
{ |
sl@0 | 76 |
id = EStartupStateCriticalDynamic; |
sl@0 | 77 |
name = "Critical Dynamic"; |
sl@0 | 78 |
command_list = r_critical_dynamic_commands; |
sl@0 | 79 |
next = r_startup_state_non_critical; |
sl@0 | 80 |
} |
sl@0 | 81 |
|
sl@0 | 82 |
RESOURCE COMMAND_ARRAY r_critical_dynamic_commands |
sl@0 | 83 |
{ |
sl@0 | 84 |
commands = |
sl@0 | 85 |
{ |
sl@0 | 86 |
}; |
sl@0 | 87 |
} |
sl@0 | 88 |
|
sl@0 | 89 |
// |
sl@0 | 90 |
// NON-CRITICAL startup state |
sl@0 | 91 |
// |
sl@0 | 92 |
RESOURCE STATE_INFO r_startup_state_non_critical |
sl@0 | 93 |
{ |
sl@0 | 94 |
id = EStartupStateNonCritical; |
sl@0 | 95 |
name = "Non-critical"; |
sl@0 | 96 |
command_list = r_non_critical_commands; |
sl@0 | 97 |
next = 0; // No more state transitions |
sl@0 | 98 |
} |
sl@0 | 99 |
|
sl@0 | 100 |
RESOURCE COMMAND_ARRAY r_non_critical_commands |
sl@0 | 101 |
{ |
sl@0 | 102 |
commands = |
sl@0 | 103 |
{ |
sl@0 | 104 |
}; |
sl@0 | 105 |
} |
sl@0 | 106 |
|
sl@0 | 107 |
|
sl@0 | 108 |
|
sl@0 | 109 |