655
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
#if !defined PAGED_ROM
|
|
18 |
#define PAGED_ROM
|
|
19 |
#endif
|
|
20 |
|
|
21 |
#if !defined EFFICIENT_ROM_PAGING
|
|
22 |
// Uncomment next line if efficient rom paging is wanted.
|
|
23 |
//#define EFFICIENT_ROM_PAGING
|
|
24 |
#endif
|
|
25 |
|
|
26 |
#if !defined USE_CODE_PAGING
|
|
27 |
// Uncomment next line if code paging is wanted
|
|
28 |
#define USE_CODE_PAGING
|
|
29 |
#endif
|
|
30 |
|
|
31 |
#if !defined USE_DATA_PAGING
|
|
32 |
// Uncomment next line if Writable Data Paging is wanted.
|
|
33 |
//#define USE_DATA_PAGING
|
|
34 |
#endif
|
|
35 |
|
|
36 |
#if !defined CODE_PAGING_FROM_ROFS
|
|
37 |
// Uncomment next line if code paging from primary rofs is wanted
|
|
38 |
#define CODE_PAGING_FROM_ROFS
|
|
39 |
#endif
|
|
40 |
|
|
41 |
|
|
42 |
// uncomment next line if device DP configuration wanted
|
|
43 |
externaltool=configpaging
|
|
44 |
|
|
45 |
#if defined EFFICIENT_ROM_PAGING
|
|
46 |
externaltool=efficient_rom_paging
|
|
47 |
#endif
|
|
48 |
|
|
49 |
ROM_IMAGE[0] {
|
|
50 |
// Min Max Young/Old NAND page read NAND page read
|
|
51 |
// live live page ratio delay CPU overhead
|
|
52 |
// pages pages (microseconds) (microseconds)
|
|
53 |
//
|
|
54 |
demandpagingconfig 256 512 3 0 0
|
|
55 |
|
|
56 |
pagingoverride defaultpaged
|
|
57 |
|
|
58 |
#if defined USE_CODE_PAGING
|
|
59 |
codepagingpolicy defaultpaged
|
|
60 |
#endif
|
|
61 |
|
|
62 |
#if defined USE_DATA_PAGING
|
|
63 |
datapagingpolicy defaultpaged
|
|
64 |
#endif
|
|
65 |
}
|
|
66 |
|
|
67 |
#if defined CODE_PAGING_FROM_ROFS
|
|
68 |
ROM_IMAGE[1] {
|
|
69 |
pagingoverride defaultpaged
|
|
70 |
}
|
|
71 |
#endif
|