sysstatemgmt/ssmcmdlists/data/uiservicescmdlist_ext.rss
branchRCL_3
changeset 6 6bb05bdcbe09
child 21 ccb4f6b3db21
equal deleted inserted replaced
5:1a73e8f1b64d 6:6bb05bdcbe09
       
     1 /*
       
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Command list for the UI-Services startup state (UI shell version) for extended startup.
       
    16 *
       
    17 */
       
    18 
       
    19 #include <ssm/conditionresourcetypes.rh>
       
    20 #include <ssm/ssmcmd.rh>
       
    21 
       
    22 #include "ssmsubstateext.hrh"
       
    23 #include "ssmdlldatadefs.rh"
       
    24 
       
    25 // Identify command list type
       
    26 UID2 KUidSsmCommandListResourceFile
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // r_entry_point
       
    30 // This must be the first resource
       
    31 // ---------------------------------------------------------------------------
       
    32 //
       
    33 RESOURCE SSM_COMMAND_LIST_ROOT r_entry_point
       
    34     {
       
    35     command_list_mapping = r_map;
       
    36     }
       
    37 
       
    38 // ---------------------------------------------------------------------------
       
    39 // r_map
       
    40 // Mapping of command list ids to resource ids.
       
    41 // ---------------------------------------------------------------------------
       
    42 //
       
    43 RESOURCE SSM_COMMAND_LIST_MAPPING r_map
       
    44     {
       
    45     mappings =
       
    46         {
       
    47         SSM_COMMANDLISTID_TO_RESOURCEID
       
    48             {
       
    49             command_list_id = ESsmStateStartingUiServices;
       
    50             resource_id = r_cmds;
       
    51             }
       
    52         };
       
    53     }
       
    54 
       
    55 // ===========================================================================
       
    56 // Command lists in alphabetical order
       
    57 // ===========================================================================
       
    58 //
       
    59 
       
    60 // ---------------------------------------------------------------------------
       
    61 // r_cmds
       
    62 // ---------------------------------------------------------------------------
       
    63 //
       
    64 RESOURCE SSM_COMMAND_LIST r_cmds
       
    65     {
       
    66     commands =
       
    67         {
       
    68         // prio 0xFFA3
       
    69         r_cmd_tzsrv,
       
    70         r_cmd_cntsrv,
       
    71         r_cmd_mediator,
       
    72         r_cmd_hwrmsrv,
       
    73         // prio 0xFF89
       
    74         r_cmd_dbrecovery
       
    75         };
       
    76     }
       
    77 
       
    78 // ===========================================================================
       
    79 // Command items in alphabetical order
       
    80 // ===========================================================================
       
    81 //
       
    82 
       
    83 
       
    84 // ---------------------------------------------------------------------------
       
    85 // r_cmd_cntsrv
       
    86 // ---------------------------------------------------------------------------
       
    87 //
       
    88 RESOURCE SSM_START_PROCESS_INFO r_cmd_cntsrv
       
    89     {
       
    90     priority = 0xFFA3;
       
    91     name = "Z:\\sys\\bin\\cntsrv.exe";
       
    92     args = "-nontransient";
       
    93     severity = ECmdCriticalSeverity;
       
    94     execution_behaviour = ESsmDeferredWaitForSignal;
       
    95     }
       
    96 
       
    97 // ---------------------------------------------------------------------------
       
    98 // r_cmd_dbrecovery
       
    99 // ---------------------------------------------------------------------------
       
   100 //
       
   101 RESOURCE SSM_START_PROCESS_INFO r_cmd_dbrecovery
       
   102     {
       
   103     priority = 0xFF89;
       
   104     name = "z:\\sys\\bin\\dbrecovery.exe";
       
   105     execution_behaviour = ESsmDeferredWaitForSignal;
       
   106     }
       
   107 
       
   108 // ---------------------------------------------------------------------------
       
   109 // r_cmd_hwrmsrv
       
   110 // ---------------------------------------------------------------------------
       
   111 //
       
   112 RESOURCE SSM_START_PROCESS_INFO r_cmd_hwrmsrv
       
   113     {
       
   114     priority = 0xFFA3;
       
   115     name = "Z:\\sys\\bin\\hwrmserver.exe";
       
   116     severity = ECmdCriticalSeverity;
       
   117     execution_behaviour = ESsmDeferredWaitForSignal;
       
   118     retries = 2;
       
   119     }
       
   120 
       
   121 // ---------------------------------------------------------------------------
       
   122 // r_cmd_mediator
       
   123 // ---------------------------------------------------------------------------
       
   124 //
       
   125 RESOURCE SSM_START_PROCESS_INFO r_cmd_mediator
       
   126     {
       
   127     priority = 0xFFA3;
       
   128     name = "Z:\\sys\\bin\\mediatorserver.exe";
       
   129     severity = ECmdCriticalSeverity;
       
   130     execution_behaviour = ESsmDeferredWaitForSignal;
       
   131     monitor_info = r_mon_3_restarts_reset;
       
   132     conditional_information = r_cond_feat_mediator;
       
   133     }
       
   134 
       
   135 // ---------------------------------------------------------------------------
       
   136 // r_cmd_tzsrv
       
   137 // ---------------------------------------------------------------------------
       
   138 //
       
   139 RESOURCE SSM_START_PROCESS_INFO r_cmd_tzsrv
       
   140     {
       
   141     priority = 0xFFA3;
       
   142     name = "Z:\\sys\\bin\\tzserver.exe";
       
   143     severity = ECmdCriticalSeverity;
       
   144     execution_behaviour = ESsmDeferredWaitForSignal;
       
   145     }
       
   146 
       
   147 // ===========================================================================
       
   148 // DLL data items in alphabetical order
       
   149 // ===========================================================================
       
   150 //
       
   151 
       
   152 // ---------------------------------------------------------------------------
       
   153 // r_cond_feat_mediator
       
   154 // ---------------------------------------------------------------------------
       
   155 //
       
   156 RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_mediator
       
   157     {
       
   158     feature_id = KFeatureIdMediator;
       
   159     }
       
   160 // monitoring.rss contains resource definitions, so it may not be included
       
   161 // before entry point.
       
   162 #include "monitoring.rss"