|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-417011A0-5311-56B1-AB9B-669174942307" xml:lang="en"><title>Platform |
|
13 Security Settings</title><shortdesc>Describes the platform security setting in the variant project |
|
14 header file</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
15 <p> This setting can be useful if you port Symbian platform from |
|
16 a version previous to 9.1. </p> |
|
17 <p>A number of <xref href="GUID-3DD52BA7-2EB9-52D4-9BF0-A0A4A2B6BD54.dita">global |
|
18 platform security configuration settings</xref> apply when you build a ROM |
|
19 image. By default, the settings are ON and no capabilities are specified for |
|
20 removal. </p> |
|
21 <p>If you change the settings and specify capabilities for removal, you must |
|
22 first define the macro <codeph>__PLATSEC_UNLOCKED__</codeph> in the <filepath>variant.mmh</filepath> file |
|
23 of your target device and rebuild the kernel. In the template port, you can |
|
24 find this file in <filepath>...\template\template_variant\variant.mmh</filepath>. </p> |
|
25 <p>Define the macro: </p> |
|
26 <codeblock id="GUID-6B0A01E8-CC83-5041-A3F9-043ABA9EA528" xml:space="preserve">#define __PLATSEC_UNLOCKED__</codeblock> |
|
27 <p>If you do not define this macro, changes to the settings when you build |
|
28 a ROM image are ignored. </p> |
|
29 <p>Use of this macro can be good for migration, but remove the macro and rebuild |
|
30 the kernel on production devices. </p> |
|
31 </conbody></concept> |