deprecated/buildtools/romkiteka2/include/pagedrom_functional.oby
author lorewang
Wed, 01 Dec 2010 16:05:36 +0800
changeset 715 e0739b8406dd
parent 655 3f65fd25dfd4
permissions -rw-r--r--
Specify extenal tool with path
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
655
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     1
/*
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     3
* All rights reserved.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     4
* This component and the accompanying materials are made available
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     6
* which accompanies this distribution, and is available
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     8
*
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     9
* Initial Contributors:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    11
*
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    12
* Contributors:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    13
*
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    14
* Description:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    15
*
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    16
*/
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    17
#if !defined PAGED_ROM
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    18
#define PAGED_ROM
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    19
#endif
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    20
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    21
#if !defined EFFICIENT_ROM_PAGING
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    22
// Uncomment next line if efficient rom paging is wanted.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    23
//#define EFFICIENT_ROM_PAGING
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    24
#endif
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    25
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    26
#if !defined USE_CODE_PAGING
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    27
// Uncomment next line if code paging is wanted
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    28
#define USE_CODE_PAGING
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    29
#endif
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    30
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    31
#if !defined USE_DATA_PAGING
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    32
// Uncomment next line if Writable Data Paging is wanted.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    33
//#define USE_DATA_PAGING
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    34
#endif
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    35
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    36
#if !defined CODE_PAGING_FROM_ROFS
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    37
// Uncomment next line if code paging from primary rofs is wanted
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    38
#define CODE_PAGING_FROM_ROFS
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    39
#endif
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    40
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    41
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    42
// uncomment next line if device DP configuration wanted
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    43
//externaltool=configpaging
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    44
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    45
#if defined EFFICIENT_ROM_PAGING
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    46
externaltool=efficient_rom_paging
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    47
#endif
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    48
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    49
ROM_IMAGE[0] {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    50
//                 Min       Max        Young/Old    NAND page read   NAND page read
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    51
//                 live      live       page ratio   delay            CPU overhead 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    52
//                 pages     pages                   (microseconds)   (microseconds)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    53
//
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    54
demandpagingconfig 64        128        3            0                0
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    55
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    56
pagingoverride defaultpaged
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    57
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    58
#if defined USE_CODE_PAGING
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    59
codepagingpolicy defaultpaged
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    60
#endif
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    61
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    62
#if defined USE_DATA_PAGING
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    63
datapagingpolicy defaultpaged
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    64
#endif
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    65
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    66
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    67
#if defined CODE_PAGING_FROM_ROFS
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    68
ROM_IMAGE[1] {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    69
pagingoverride defaultpaged
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    70
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    71
#endif