startup/stem_wserv_hw.rss
changeset 13 4f959124999b
equal deleted inserted replaced
12:ab7598bdae30 13:4f959124999b
       
     1 /*
       
     2 * Copyright (c) 2009 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 starting up the Window Server in HW.
       
    16 *
       
    17 */
       
    18 
       
    19 #include <ssm/ssmcmd.rh>
       
    20 
       
    21 #include "ssmsubstateext.hrh"
       
    22 
       
    23 // Identify command list type
       
    24 UID2 KUidSsmCommandListResourceFile
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // r_entry_point
       
    28 // This must be the first resource
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 RESOURCE SSM_COMMAND_LIST_ROOT r_entry_point
       
    32     {
       
    33     command_list_mapping = r_map;
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // r_map
       
    38 // Mapping of command list ids to resource ids.
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 RESOURCE SSM_COMMAND_LIST_MAPPING r_map
       
    42     {
       
    43     mappings =
       
    44         {
       
    45         SSM_COMMANDLISTID_TO_RESOURCEID
       
    46             {
       
    47             command_list_id = ESsmStateStartingUiServices;
       
    48             resource_id = r_cmds;
       
    49             }
       
    50         };
       
    51     }
       
    52 
       
    53 // ===========================================================================
       
    54 // Command lists in alphabetical order
       
    55 // ===========================================================================
       
    56 //
       
    57 
       
    58 // ---------------------------------------------------------------------------
       
    59 // r_cmds
       
    60 // ---------------------------------------------------------------------------
       
    61 //
       
    62 RESOURCE SSM_COMMAND_LIST r_cmds
       
    63     {
       
    64     commands =
       
    65         {
       
    66         r_cmd_wserv
       
    67         };
       
    68     }
       
    69 
       
    70 // ---------------------------------------------------------------------------
       
    71 // r_cmd_wserv
       
    72 // ---------------------------------------------------------------------------
       
    73 //
       
    74 RESOURCE SSM_START_PROCESS_INFO r_cmd_wserv
       
    75     {
       
    76     priority = 0xFFB7; // Reserved for Window server startup
       
    77     name = "Z:\\sys\\bin\\ewsrv.exe";
       
    78     args = "-NoShell";
       
    79     execution_behaviour = ESsmWaitForSignal;
       
    80     severity = ECmdCriticalSeverity;
       
    81     retries = 2;
       
    82     }