diff -r 000000000000 -r 4e1aa6a622a0 sysstatemgmt/systemstateplugins/gsapolicy/resource/wins/fallbacktosysstart.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysstatemgmt/systemstateplugins/gsapolicy/resource/wins/fallbacktosysstart.rss Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,101 @@ +// 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: +// Resource file to launch sysstart.exe. Fallback mechanism used when resource for startup state is not found. +// +// + +#include +#include + +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_fallback_to_sysstart; + }, + SSM_COMMANDLISTID_TO_RESOURCEID + { + command_list_id = ESsmStartupSubStateCriticalDynamic; + resource_id = r_fallback_to_sysagt2srv_and_wserv; + } + }; + } + +RESOURCE SSM_COMMAND_LIST r_fallback_to_sysstart + { + commands = + { + r_command_launch_sysstart + , r_command_publish_system_state + , r_command_ssmutilsrv + }; + } + +RESOURCE SSM_COMMAND_LIST r_fallback_to_sysagt2srv_and_wserv + { + commands = + { + r_command_launch_sysagt2srv + , r_command_launch_wserv + , r_command_publish_system_state + , r_command_ssmutilsrv + }; + } + +RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state + { + } + +RESOURCE SSM_START_PROCESS_INFO r_command_launch_sysstart + { + severity = ECmdCriticalSeverity; + name = "sysstart.exe"; + execution_behaviour = ESsmWaitForSignal; + } + +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_launch_sysagt2srv + { + severity = ECmdCriticalSeverity; + name = "sysagt2svr.exe"; + execution_behaviour = ESsmWaitForSignal; + } + +RESOURCE SSM_START_PROCESS_INFO r_command_launch_wserv + { + severity = ECmdCriticalSeverity; + name = "wserv.exe"; + execution_behaviour = ESsmWaitForSignal; + } + +