// Copyright (c) 2008-2009 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:
// Generic Startup Architecture Startup State command lists for bringing up Textshell used for test purposes.
//
//
#include <ssm/ssmcmd.rh>
#include <ssm/ssmsubstates.hrh>
UID2 KUidSsmCommandListResourceFile
// SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
// The SSM relies on this having a resource ID of 1.
RESOURCE SSM_COMMAND_LIST_ROOT
{
command_list_mapping = r_command_list_mapping;
}
RESOURCE SSM_COMMAND_LIST_MAPPING r_command_list_mapping
{
mappings =
{
SSM_COMMANDLISTID_TO_RESOURCEID
{
command_list_id = ESsmStartupSubStateCriticalStatic;
resource_id = r_critical_static_commands;
},
SSM_COMMANDLISTID_TO_RESOURCEID
{
command_list_id = ESsmStartupSubStateCriticalDynamic;
resource_id = r_critical_dynamic_commands;
},
SSM_COMMANDLISTID_TO_RESOURCEID
{
command_list_id = ESsmStartupSubStateNonCritical;
resource_id = r_non_critical_commands;
}
};
}
RESOURCE SSM_COMMAND_LIST r_critical_static_commands
{
commands =
{
r_command_publish_system_state
, r_command_ssmutilsrv
, r_command_sysmon
, r_command_sysagt2svr
, r_command_ewsrv
};
}
RESOURCE SSM_COMMAND_LIST r_critical_dynamic_commands
{
commands =
{
r_command_publish_system_state
};
}
RESOURCE SSM_COMMAND_LIST r_non_critical_commands
{
commands =
{
r_command_publish_system_state
, r_command_ama_starter
};
}
RESOURCE SSM_START_PROCESS_INFO r_command_ssmutilsrv
{
severity = ECmdCriticalSeverity;
name = "ssmutilsrv.exe";
execution_behaviour = ESsmWaitForSignal;
retries = 2;
}
RESOURCE SSM_START_PROCESS_INFO r_command_sysmon
{
severity = ECmdCriticalSeverity;
name = "sysmon.exe";
execution_behaviour = ESsmWaitForSignal;
retries = 2;
}
RESOURCE SSM_START_PROCESS_INFO r_command_sysagt2svr
{
severity = ECmdCriticalSeverity;
name = "SysAgt2Svr.exe";
execution_behaviour = ESsmWaitForSignal;
retries = 2;
}
RESOURCE SSM_START_PROCESS_INFO r_command_ewsrv
{
severity = ECmdCriticalSeverity;
name = "ewsrv.exe";
execution_behaviour = ESsmWaitForSignal;
}
RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
{
severity = ECmdCriticalSeverity;
}
RESOURCE SSM_START_AMA_STARTER r_command_ama_starter
{
severity = ECmdIgnoreFailure;
dsc_id = 0x2000836D; // removing this id will cause a rcomp failure unless dsc_id is #defined in ssmcmd.rh file.
}