kernel/eka/rombuild/user.iby
changeset 9 96e5fb8b040d
child 43 c1f20ce4abcf
equal deleted inserted replaced
-1:000000000000 9:96e5fb8b040d
       
     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 the License "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 
       
    18 #ifndef	EDISP_DRV
       
    19 #define	EDISP_DRV	\EDISP.DLL
       
    20 #endif
       
    21 
       
    22 #if !defined(EUSER_DLL)
       
    23 #error EUSER_DLL not defined
       
    24 #endif
       
    25 #if !defined(COMPSUPP_DIR)
       
    26 #define	COMPSUPP_DIR	MAIN
       
    27 #endif
       
    28 
       
    29 file=\Epoc32\Release\##EUSERDIR##\##BUILD##\##EUSER_DLL					\sys\bin\EUSER.DLL
       
    30 
       
    31 #ifdef RVCT
       
    32 #include <rom\include\compsupp.iby>
       
    33 #endif
       
    34 
       
    35 #ifndef SYMBIAN_EXCLUDE_KEYBOARD
       
    36 file=\Epoc32\Release\##MAIN##\##BUILD##\EKTRAN.DLL						\sys\bin\EKTRAN.DLL
       
    37 #endif
       
    38 file=\Epoc32\Release\##MAIN##\##BUILD##\RPIPE.DLL						\sys\bin\RPIPE.DLL
       
    39 #ifndef SYMBIAN_EXCLUDE_WINSRV
       
    40 file=\Epoc32\Release\##MAIN##\##BUILD##\ECONS.DLL						\sys\bin\ECONS.DLL
       
    41 file=\Epoc32\Release\##MAIN##\##BUILD##\EWSRV.EXE						\sys\bin\EWSRV.EXE	FIXED HEAPMAX(0x40000)
       
    42 #endif
       
    43 
       
    44 // Ensure that we prevent insecure Trk debug agent from being installed by blocking its SID.
       
    45 file=\Epoc32\Release\##MAIN##\##BUILD##\trkdummyapp.exe     \sys\bin\trkdummyapp.exe
       
    46 file=\Epoc32\Release\##MAIN##\##BUILD##\trkdummyapp2.exe     \sys\bin\trkdummyapp2.exe
       
    47 file=\Epoc32\Release\##MAIN##\##BUILD##\trkdummyapp200159D8.exe     \sys\bin\trkdummyapp200159D8.exe
       
    48 file=\Epoc32\Release\##MAIN##\##BUILD##\trkdummyapp200170BC.exe     \sys\bin\trkdummyapp200170BC.exe
       
    49 
       
    50 #ifndef SYMBIAN_EXCLUDE_DISPLAY_DRIVER
       
    51 file=\Epoc32\Release\##MAIN##\##BUILD##EDISP_DRV						\sys\bin\EDISP.DLL
       
    52 #endif
       
    53 
       
    54 #ifndef SYMBIAN_EXCLUDE_DOMAINSRV
       
    55 file=\Epoc32\Release\##MAIN##\##BUILD##\domainSrv.exe					\sys\bin\domainSrv.exe HEAPMAX(0x20000)
       
    56 file=\Epoc32\Release\##MAIN##\##BUILD##\domainCli.dll					\sys\bin\domainCli.dll
       
    57 file=\Epoc32\Release\##MAIN##\##BUILD##\domainPolicy.dll				\sys\bin\domainPolicy.dll
       
    58 #endif
       
    59 
       
    60 #ifdef SYMBIAN_INCLUDE_USB_OTG_HOST
       
    61 file=\Epoc32\Release\##MAIN##\##BUILD##\usbdescriptors.dll				\sys\bin\usbdescriptors.dll
       
    62 file=\Epoc32\Release\##MAIN##\##BUILD##\usbdi_utils.dll					\sys\bin\usbdi_utils.dll
       
    63 #endif // SYMBIAN_INCLUDE_USB_OTG_HOST
       
    64 
       
    65 #if !(defined(INST_X86) || defined(INST_X86GCC)) && !defined(RVCT)
       
    66 file=\Epoc32\Release\##MAIN##\##BUILD##\eka1_entry_stub.dll				\sys\bin\eka1_entry_stub.dll
       
    67 #endif
       
    68 
       
    69 
       
    70 #ifndef USE_CUSTOM_MMC_PARTITION
       
    71 extension[VARID]=\Epoc32\Release\##KMAIN##\##BUILD##\EMMCPTN.DLL                   \Sys\Bin\EMMCPTN.DLL
       
    72 #endif
       
    73 
       
    74 // Run-mode debug subsystem
       
    75 #include "rm_debug_svr.iby"
       
    76 
       
    77 // Load Platform Security settings
       
    78 #ifndef __DONT_LOAD_PLATSEC_SETTINGS__
       
    79 #ifndef NOPLATSEC
       
    80 #include "platsec.settings"
       
    81 #endif
       
    82 #endif
       
    83 
       
    84 #ifndef EXCLUDE_BTRACE
       
    85 file=\Epoc32\Release\##MAIN##\##BUILD##\btracec.dll					\sys\bin\btracec.dll
       
    86 file=\Epoc32\Release\##MAIN##\##BUILD##\btrace.exe					\sys\bin\btrace.exe
       
    87 #endif
       
    88 
       
    89 #if !(defined(INST_X86) || defined(INST_X86GCC))
       
    90 file=           \Epoc32\Release\##MAIN##\##BUILD##\USBCSC_bil.dll               \Sys\Bin\usbcsc_bil.dll
       
    91 #endif
       
    92 
       
    93 // Include some extra utilities for X86 builds
       
    94 #if defined(INST_X86) || defined(INST_X86GCC)
       
    95 file=\Epoc32\Release\##MAIN##\##BUILD##\eject.exe					\sys\bin\_eject.exe
       
    96 file=\Epoc32\Release\##MAIN##\##BUILD##\reboot.exe					\sys\bin\_reboot.exe
       
    97 #endif
       
    98 
       
    99 file=\Epoc32\Release\##MAIN##\##BUILD##\dptest.dll					\sys\bin\dptest.dll
       
   100 
       
   101 #if defined(PAGED_ROM) || defined(PAGED_CODE) || defined(PAGED_DATA)
       
   102 // Limit paging cache to make sure paging is excercised well without slowing testing too much.
       
   103 // There must be some difference between min and max to allow cache pages to be donated and
       
   104 // reclaimed. For a "stress-free" configuration, allow for 2MB min and approx 128MB max.
       
   105 //
       
   106 //                 Min       Max        Young/Old    NAND page read   NAND page read	Old/Oldest
       
   107 //                 live      live       page ratio   delay            CPU overhead 		page ratio
       
   108 //                 pages     pages                   (microseconds)   (microseconds)
       
   109 //
       
   110 #if defined(STRESS_FREE_PAGING)
       
   111 demandpagingconfig 512       32767      3            660              5					3
       
   112 #elif defined(PAGED_DATA)
       
   113 demandpagingconfig 120       136        3            660              5					3
       
   114 #else
       
   115 demandpagingconfig 60        68         3            660              5					3
       
   116 #endif
       
   117 
       
   118 // select codepagingoverride...
       
   119 #if defined(CODEPAGINGOVERRIDE_NOPAGING)
       
   120 codepagingoverride nopaging
       
   121 #elif defined(CODEPAGINGOVERRIDE_ALWAYSPAGE)
       
   122 codepagingoverride alwayspage
       
   123 #elif defined(CODEPAGINGOVERRIDE_DEFAULTUNPAGED)
       
   124 codepagingoverride defaultunpaged
       
   125 #else
       
   126 codepagingoverride defaultpaged	// Make the ROM partition's executables defaultpaged.
       
   127 #endif
       
   128 #endif // PAGED_ROM || PAGED_CODE
       
   129 
       
   130 // select paging policy
       
   131 #if defined(PAGINGPOLICY_NOPAGING)
       
   132 pagingpolicy nopaging
       
   133 #elif defined(PAGINGPOLICY_ALWAYSPAGE)
       
   134 pagingpolicy alwayspage
       
   135 #elif defined(PAGINGPOLICY_DEFAULTUNPAGED)
       
   136 pagingpolicy defaultunpaged
       
   137 #elif defined(PAGINGPOLICY_DEFAULTPAGED)
       
   138 pagingpolicy defaultpaged
       
   139 #else
       
   140 #define NO_PAGINGPOLICY
       
   141 #endif
       
   142 
       
   143 #ifdef PAGED_CODE
       
   144 // select code paging policy
       
   145 #if defined(CODEPAGINGPOLICY_NOPAGING)
       
   146 codepagingpolicy nopaging
       
   147 #elif defined(CODEPAGINGPOLICY_ALWAYSPAGE)
       
   148 codepagingpolicy alwayspage
       
   149 #elif defined(CODEPAGINGPOLICY_DEFAULTUNPAGED)
       
   150 codepagingpolicy defaultunpaged
       
   151 #elif defined(NO_PAGINGPOLICY)
       
   152 codepagingpolicy defaultpaged
       
   153 #endif
       
   154 #else
       
   155 #if defined(NO_PAGINGPOLICY)
       
   156 codepagingpolicy nopaging
       
   157 #endif
       
   158 #endif // PAGED_CODE
       
   159 
       
   160 #ifdef PAGED_DATA
       
   161 // select data paging policy
       
   162 #if defined(DATAPAGINGPOLICY_NOPAGING)
       
   163 datapagingpolicy nopaging
       
   164 #elif defined(DATAPAGINGPOLICY_ALWAYSPAGE)
       
   165 datapagingpolicy alwayspage
       
   166 #elif defined(DATAPAGINGPOLICY_DEFAULTUNPAGED)
       
   167 datapagingpolicy defaultunpaged
       
   168 #elif defined(NO_PAGINGPOLICY)
       
   169 datapagingpolicy defaultpaged
       
   170 #endif
       
   171 #else
       
   172 #if defined(NO_PAGINGPOLICY)
       
   173 datapagingpolicy nopaging
       
   174 #endif
       
   175 #endif // PAGED_DATA
       
   176 
       
   177 // Test constant patching works by setting KHeapMinCellSize to zero, which is the default anyway
       
   178 patchdata ekern.exe @ KHeapMinCellSize 0
       
   179 patchdata euser.dll @ KHeapMinCellSize 0