startup/stem_uiservicescmdlist.rss
author William Roberts <williamr@symbian.org>
Thu, 18 Nov 2010 11:33:21 +0000
changeset 132 7cc63c33221d
parent 85 ee5d5928b136
permissions -rw-r--r--
Add Syborg ethernet driver, just in case

/*
* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
* Command list for the UI-Services startup state (UI shell version) for minimal startup.
*
*/

#include <ssm/conditionresourcetypes.rh>
#include <ssm/ssmcmd.rh>

#include "ssmsubstateext.hrh"
#include "ssmdlldatadefs.rh"

// Identify command list type
UID2 KUidSsmCommandListResourceFile

// ---------------------------------------------------------------------------
// r_entry_point
// This must be the first resource
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST_ROOT r_entry_point
    {
    command_list_mapping = r_map;
    }

// ---------------------------------------------------------------------------
// r_map
// Mapping of command list ids to resource ids.
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST_MAPPING r_map
    {
    mappings =
        {
        SSM_COMMANDLISTID_TO_RESOURCEID
            {
            command_list_id = ESsmStateStartingUiServices;
            resource_id = r_cmds;
            }
        };
    }

// ===========================================================================
// Command lists in alphabetical order
// ===========================================================================
//

// ---------------------------------------------------------------------------
// r_cmds
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST r_cmds
    {
    commands =
        {
        r_cmd_sastate,          // This needs to be the first command in state, prio 0xFFF2
        r_cmd_publishstate,     // prio 0xFFF1
        r_cmd_psstate,          // prio 0xFFF0
        // prio 0xFFE7
        r_cmd_startupmode,
        r_cmd_loadpowersup,
        // prio 0xFFA7
        r_cmd_splash,
        r_cmd_multiwaitforever1,
        // prio 0xFF79
        r_cmd_aknstart,         // UI Framework
        // prio 0xFF77
        r_cmd_apparc_init      // Init application framework
        };
    }

// ===========================================================================
// Command items in alphabetical order
// ===========================================================================
//

// ---------------------------------------------------------------------------
// r_cmd_aknstart
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_aknstart
    {
    priority = 0xFF79;
    severity = ECmdCriticalSeverity;
    dllname = "akncustcmds.dll";
    ordinal = 1; // AknCapServerStart
    retries = 2;
    }

// ---------------------------------------------------------------------------
// r_cmd_apparc_init
// ---------------------------------------------------------------------------
//
RESOURCE SSM_WAIT_FOR_APPARC_INIT r_cmd_apparc_init
    {
    priority = 0xFF77;
    severity = ECmdCriticalSeverity;
    }

// ---------------------------------------------------------------------------
// r_cmd_loadpowersup
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_SSM_UTILITY_PLUGIN r_cmd_loadpowersup
    {
    priority = 0xFFE7;
    severity = ECmdCriticalSeverity;
    filename = "ssmpowersup.dll";
    ordinal = 1;
    }

// ---------------------------------------------------------------------------
// r_cmd_multiwaitforever1
// ---------------------------------------------------------------------------
//
RESOURCE SSM_MULTIPLE_WAIT r_cmd_multiwaitforever1
    {
    priority = 0xFF96;
    }


// ---------------------------------------------------------------------------
// r_cmd_psstate
// ---------------------------------------------------------------------------
//
RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_cmd_psstate
    {
    priority = 0xFFF0;
    severity = ECmdCriticalSeverity;
    category = 0x101F8766; // KPSUidStartup
    key      = 0x00000041; // KPSGlobalSystemState
    value    = 100;        // ESwStateStartingUiServices
    }

// ---------------------------------------------------------------------------
// r_cmd_publishstate
// ---------------------------------------------------------------------------
//
RESOURCE SSM_PUBLISH_SYSTEM_STATE r_cmd_publishstate
    {
    priority = 0xFFF1;
    severity = ECmdCriticalSeverity;
    retries = 2;
    }


// ---------------------------------------------------------------------------
// r_cmd_sastate
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_sastate
    {
    priority = 0xFFF2;
    severity = ECmdCriticalSeverity;
    dllname = "customcmds.dll";
    ordinal = 8;
    unload_on_finish = ENeverUnload;
    retries = 2;
    dll_data = r_dlldata_sastate;
    }

// ---------------------------------------------------------------------------
// r_cmd_splash
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_PROCESS_INFO r_cmd_splash
    {
    priority = 0xFFA7;
    name = "Z:\\sys\\bin\\splashscreen.exe";
    }

// ---------------------------------------------------------------------------
// r_cmd_startupmode
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_startupmode
    {
    priority = 0xFFE7;
    severity = ECmdCriticalSeverity;
    dllname = "customcmds.dll";
    ordinal = 9; // GetStartupMode
    unload_on_finish = ENeverUnload;
    retries = 2;
    }

// ===========================================================================
// DLL data items in alphabetical order
// ===========================================================================
//

// ---------------------------------------------------------------------------
// r_dlldata_sastate
// ---------------------------------------------------------------------------
//
RESOURCE CMD_PARAM_STATE_CHANGE r_dlldata_sastate
    {
    mainstate = 0; // ESsmStartup
    substate = ESsmStateStartingUiServices;
    }

// ===========================================================================
// Conditional blocks in alphabetical order
// ===========================================================================
//

// ---------------------------------------------------------------------------
// r_cond_ps_firstboot
// ---------------------------------------------------------------------------
//
RESOURCE SSM_CND_PUB_SUB_VALUE r_cond_ps_firstboot
    {
    category		  = 0x101F8766; // KPSUidStartup
    key           = 0x00000013; // KPSStartupFirstBoot
    value         = 101;        // EPSStartupFirstBoot
    }

// ---------------------------------------------------------------------------
// r_cond_cenrep_rfs_deep
// ---------------------------------------------------------------------------
//
RESOURCE SSM_CND_CENT_REP_VALUE r_cond_cenrep_rfs_deep
    {
    repository_id = 0x101F8762; // KCRUidStartup
    key           = 0x00000002; // KStartupReason
    value         = 103;        // EDeepRFSReset
    }

// ---------------------------------------------------------------------------
// r_cond_cenrep_rfs_normal
// ---------------------------------------------------------------------------
//
RESOURCE SSM_CND_CENT_REP_VALUE r_cond_cenrep_rfs_normal
    {
    repository_id = 0x101F8762; // KCRUidStartup
    key           = 0x00000002; // KStartupReason
    value         = 102;        // ENormalRFSReset
    }


// monitoring.rss contains resource definitions, so it may not be included
// before entry point.
//#include "stem_monitoring.rss"