sysstatemgmt/systemstateplugins/gsapolicy/group/sspluginsgsa.iby
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:34:26 +0100
branchRCL_3
changeset 61 8cb079868133
parent 60 ccb4f6b3db21
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     1
/*
61
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     3
* All rights reserved.
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     4
* This component and the accompanying materials are made available
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     6
* which accompanies this distribution, and is available
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     8
*
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     9
* Initial Contributors:
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    11
*
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    12
* Contributors:
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    13
*
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    14
* Description:
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    15
*
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    16
*/
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    17
#ifndef __SSPLUGINSGSA_IBY__
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    18
#define __SSPLUGINSGSA_IBY__
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    19
61
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    20
file=ABI_DIR\BUILD_DIR\ssm.state.policy.hw.0000.dll		sys\bin\ssm.state.policy.0000.dll
0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    21
file=ABI_DIR\BUILD_DIR\ssm.state.policy.0001.dll		sys\bin\ssm.state.policy.0001.dll
61
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    22
file=ABI_DIR\BUILD_DIR\ssm.state.policy.hw.0002.dll		sys\bin\ssm.state.policy.0002.dll
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    23
file=ABI_DIR\BUILD_DIR\ssm.state.policy.hw.0003.dll		sys\bin\ssm.state.policy.0003.dll
0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    24
61
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    25
// rsc files for the rom
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    26
data=EPOCROOT##epoc32\data\z\private\2000d75b\startup\fallback\fallbacktosysstart_target.rsc		private\2000d75b\startup\fallback\fallbacktosysstart.rsc
0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    27
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    28
data=EPOCROOT##epoc32\data\z\private\2000d75b\normal\gsanormalcmdlist.rsc		private\2000d75b\normal\gsanormalcmdlist.rsc
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    29
data=EPOCROOT##epoc32\data\z\private\2000d75b\shutdown\gsashutdowncmdlist.rsc		private\2000d75b\shutdown\gsashutdowncmdlist.rsc
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    30
data=EPOCROOT##epoc32\data\z\private\2000d75b\fail\gsafailcmdlist.rsc			private\2000d75b\fail\gsafailcmdlist.rsc
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    31
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    32
REM Simple startup configuration - install a single resource file 
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    33
REM as the default "mode 0" file.
61
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    34
REM Note this is a Techview specific way of including just the 
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    35
REM SCL required in the ROM. Licensees are expected to include more 
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    36
REM than one SCL in their devices.
0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    37
61
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    38
REM If _STARTUPMODE, _STARTUPMODE1, _STARTUPMODE2 etc. are defined
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    39
REM then SysStart fallback should be used so no SCL rss files will be included
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    40
REM thus forcing the startup policy to use 
0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    41
REM The macro for selecting SCL lists is _SSMSTARTUPMODE
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    42
61
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    43
#if (defined(_STARTUPMODE) || \
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    44
	defined(_STARTUPMODE0) || \
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    45
	defined(_STARTUPMODE1) || \
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    46
	defined(_STARTUPMODE2) || \
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    47
	defined(_STARTUPMODE3) || \
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    48
	defined(_STARTUPMODE4) || \
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    49
	defined(_STARTUPMODE5) || \
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    50
	defined(_STARTUPMODE8))
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    51
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    52
REM SysStart startup mode defines found, using SysStart startup
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    53
WARNING "Use _SSMSTARTUPMODE instead of _STARTUPMODE as it is deprecated."
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    54
WARNING "_STARTUPMODE can only be used for testing fallback on SysStart by including sysstart.iby and sysstartconfig.iby in buildrom command " 
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    55
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    56
#else
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    57
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    58
REM No legacy SysStart startup mode defines found, using SSM startup
0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    59
#ifdef _SSMSTARTUPMODE
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    60
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    61
define _2000D75B_MODE _SSMSTARTUPMODE
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    62
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    63
#else
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    64
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    65
// default to mode 0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    66
define _2000D75B_MODE 0         // Normal
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    67
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    68
#endif // _SSMSTARTUPMODE
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    69
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    70
REM Selected mode _2000D75B_MODE startup resource file
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    71
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    72
#ifndef SSMA_MINIMAL_BOOT
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    73
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    74
#if (_SSMSTARTUPMODE == 1) 
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    75
data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\##_2000D75B_MODE##\gsastartupcmdlist##_2000D75B_MODE##		private\2000d75b\startup\0\gsastartupcmdlist##_2000D75B_MODE##)
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    76
#else
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    77
data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\##_2000D75B_MODE##\gsastartupcmdlist##_2000D75B_MODE##_target		private\2000d75b\startup\0\gsastartupcmdlist##_2000D75B_MODE##)
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    78
#endif
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    79
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    80
#else
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    81
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    82
data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\##_2000D75B_MODE##\gsastartupcmdlist_gtcminconfig##_2000D75B_MODE##_target		private\2000d75b\startup\0\gsastartupcmdlist##_2000D75B_MODE##)
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    83
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    84
#endif // SSMA_MINIMAL_BOOT
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    85
61
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    86
#endif // Legacy SysStart mode defines not found
8cb079868133 Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents: 60
diff changeset
    87
0
4e1aa6a622a0 Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    88
#endif // __SSPLUGINSGSA_IBY__