equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __SSMMAXBOOTATTEMPTS_PATCH_H__ |
|
17 #define __SSMMAXBOOTATTEMPTS_PATCH_H__ |
|
18 |
|
19 /** |
|
20 * Patchable constant. |
|
21 * |
|
22 * This value determines the maximum number of unsuccessful device reboots allowed before powering off the device. |
|
23 * The default value for KSsmMaxBootAttempts is 3, ie., after 3 unsuccessful attempts to boot the device will be powered off. |
|
24 * |
|
25 * If this value is set to '0xFFFFFFFF' boot failure will be ignored and attempts will be made to reboot forever. |
|
26 * |
|
27 * Bootup information can be found in '<System drive>/private/<SID of SSM>/bootupinfo/bootupcount.log'. |
|
28 * |
|
29 * To patch these values, add a line to an iby or oby file that is included in the rom being built using the following format: |
|
30 * |
|
31 * "patchdata <dll> @ <symbol> <newvalue>" |
|
32 * |
|
33 * e.g. to enable maximum attempts for device reboot, use the following line: |
|
34 * "patchdata ssm.state.policy.0000.dll @ KSsmMaxBootAttempts 3" |
|
35 * |
|
36 * @SYMPatchable |
|
37 * @publishedPartner |
|
38 * @released |
|
39 * |
|
40 */ |
|
41 IMPORT_C extern const TInt KSsmMaxBootAttempts; |
|
42 |
|
43 #endif // __SSMMAXBOOTATTEMPTS_PATCH_H__ |
|