|
1 // Copyright (c) 2006-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 // Defines all the patchable constants in fbserv.exe. |
|
15 // The definition of the constants must not be in the same file as the usage, |
|
16 // or the compiler will optimise them out, so put them all in here. |
|
17 // Note that existing patchable constants are declared as global, |
|
18 // i.e. not in a namespace, so I have continued the trend. |
|
19 // |
|
20 // |
|
21 |
|
22 #include <e32def.h> |
|
23 |
|
24 |
|
25 /** |
|
26 @SYMPatchable |
|
27 @publishedPartner |
|
28 @released |
|
29 |
|
30 This constant determines the maximum size of the shared heap in the font and bitmap server. |
|
31 Up to the value of the constant, the size of the virtual address range reserved for this heap |
|
32 equals the amount of physical RAM memory. As available hardware RAM sizes increase in the future, |
|
33 it may become impossible to reserve a virtual address range that big, hence the need for an upper limit. |
|
34 @note Default value: 64MB (0x04000000) |
|
35 */ |
|
36 EXPORT_C extern const TInt KFbServSharedHeapMaxSize = 0x04000000; |
|
37 |
|
38 /** |
|
39 @SYMPatchable |
|
40 @internalTechnology |
|
41 |
|
42 This constant modifies the writable data paging mode used by the font and bitmap server. |
|
43 It is configured at rom build time via the following definitions in fbserv.iby: |
|
44 SYMBIAN_GRAPHICS_FBSERV_PAGEDATA |
|
45 SYMBIAN_GRAPHICS_FBSERV_UNPAGEDDATA |
|
46 SYMBIAN_GRAPHICS_FBSERV_PAGE_BITMAP_DATA_ONLY |
|
47 SYMBIAN_GRAPHICS_FBSERV_PAGE_BITMAP_DATA_AND_SHARED_HEAP_ONLY |
|
48 @note Default value: (0x00) This does not modify the writable data paging mode. |
|
49 */ |
|
50 EXPORT_C extern const TInt KFbServWritableDataPagingMode = 0x00; |
|
51 |
|
52 // Header files declaring these constants are included to confirm that the definition matches. |
|
53 // They are included at the end because otherwise the ARM compiler refuses to initialise the values. |
|
54 #if (__ARMCC_VERSION >= 310000) |
|
55 //# include "SERVER.H" // Commented out to prevent warning dllexport/dllimport conflict |
|
56 #else |
|
57 # include "SERVER.H" |
|
58 #endif |