|
1 /* |
|
2 * Copyright (c) 2008-2010 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 * ne1_tb\rom\base_ne1_tb.iby |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #define HEAPMAX(x) |
|
22 #define FIXED |
|
23 |
|
24 #if (defined(CRAZYSCHEDDELAY) || defined(CRAZYSCHEDPRIO)) && defined(SMP) |
|
25 #error The crazy scheduler cannot be used with SMP! |
|
26 #endif |
|
27 |
|
28 #ifdef CRAZYSCHEDDELAY |
|
29 kerneltrace 0x80000000 0 0x20 |
|
30 #else |
|
31 kerneltrace 0x80000000 |
|
32 #endif |
|
33 #ifdef CRAZYSCHEDPRIO |
|
34 CRAZYSCHEDULING(on) |
|
35 #endif |
|
36 |
|
37 #if defined(SMPCOMPATMODE) && defined(SMPCOMPATCPU0) |
|
38 #error "Can't have SMPCOMPATMODE and SMPCOMPATCPU0 at once!" |
|
39 #endif |
|
40 #ifdef SMPCOMPATMODE |
|
41 SMPUNSAFECOMPAT(on) |
|
42 #endif |
|
43 #ifdef SMPCOMPATCPU0 |
|
44 SMPUNSAFECPU0(on) |
|
45 #endif |
|
46 #ifndef SMPUNLOCKTHREADSCORE0 |
|
47 SMPLOCKKERNELTHREADSCPU0(on) |
|
48 #endif |
|
49 |
|
50 #ifdef WITH_FLEXIBLE_MM |
|
51 memmodel flexible 0x100000 0x1000 -0x4000 |
|
52 dlldatatop 0x7f000000 |
|
53 #else |
|
54 memmodel multiple 0x100000 |
|
55 #endif |
|
56 |
|
57 multikernel |
|
58 |
|
59 #ifdef DEBUGPORT |
|
60 debugport DEBUGPORT |
|
61 #else |
|
62 debugport 0 |
|
63 #endif |
|
64 |
|
65 bootbinary=KERNEL_DIR\_MEMMODEL_PLATFORM_NAME_bootrom.bin |
|
66 |
|
67 romlinearbase=0x80000000 |
|
68 romalign=0x10 |
|
69 kerneldataaddress=0xC8000000 |
|
70 kernelheapmin=0x1000 // calculated at boot time |
|
71 kernelheapmax=0x00FFF000 |
|
72 dataaddress=0x400000 |
|
73 defaultstackreserve=0x200000 |
|
74 romchecksum=0x12345678 |
|
75 |
|
76 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_kanaviengine.dll \sys\bin\kanaviengine.dll |
|
77 #if defined(CRAZYSCHEDDELAY) || defined(CRAZYSCHEDPRIO) |
|
78 primary[VARID] =KERNEL_DIR\udeb\_MEMMODEL_PLATFORM_NAME_ekern.exe \sys\bin\ekern.exe |
|
79 #else |
|
80 primary[VARID] =KERNEL_DIR\DEBUG_DIR\_MEMMODEL_PLATFORM_NAME_ekern.exe \sys\bin\ekern.exe |
|
81 #endif |
|
82 variant[VARID] =KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_ecust.dll \sys\bin\ecust.dll |
|
83 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_hcr.dll \sys\bin\hcr.dll |
|
84 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_watchdog.dll \sys\bin\watchdog.dll |
|
85 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_MEMMODEL_PLATFORM_NAME_exmoncommon.dll \sys\bin\exmoncommon.dll |
|
86 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_exmondebug.dll \sys\bin\exmondebug.dll |
|
87 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_power.dll \sys\bin\power.dll |
|
88 #ifdef SYMBIAN_USE_DMA_V2 |
|
89 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_dma_v2.dll \sys\bin\dma.dll |
|
90 #else |
|
91 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_dma.dll \sys\bin\dma.dll |
|
92 #endif |
|
93 |
|
94 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_lcdgce.PDD \sys\bin\DISPLAY0.PDD |
|
95 device[VARID] =KERNEL_DIR\DEBUG_DIR\display.ldd \sys\bin\DISPLAY0.LDD |
|
96 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_vserialkeyb.dll \sys\bin\ekeyb.dll |
|
97 //extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_ekeyb.dll \sys\bin\ekeyb.dll |
|
98 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_exyin.dll \sys\bin\exyin.dll |
|
99 device[VARID] =KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_euart.pdd \sys\bin\euart1.pdd // not EUART.PDD, unlike text shell ROMs |
|
100 #ifdef SYMBIAN_USE_DMA_V2 |
|
101 device[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_soundsc_v2.pdd \sys\bin\soundsc.pdd |
|
102 #else |
|
103 device[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_soundsc.pdd \sys\bin\soundsc.pdd |
|
104 #endif |
|
105 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_gpio.dll \sys\bin\gpio.dll |
|
106 #ifdef HAS_ETHERNET |
|
107 device[VARID]=KERNEL_DIR\DEBUG_DIR\enet.ldd \sys\bin\enet.ldd |
|
108 device[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_ethernet.pdd \sys\bin\ethernet.pdd |
|
109 #endif |
|
110 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_keypad.dll \sys\bin\keypad.dll |
|
111 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_i2s.dll \sys\bin\i2s.dll |
|
112 extension[VARID]=KERNEL_DIR\DEBUG_DIR\elocd.ldd \sys\bin\elocd.ldd |
|
113 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_medint.pdd \sys\bin\medint.pdd |
|
114 //extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_epbus.dll \sys\bin\epbus.dll |
|
115 //extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_epbusv.dll \sys\bin\epbusv.dll |
|
116 //extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_medlfs.pdd \sys\bin\medlfs.pdd |
|
117 //device[VARID] =KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_medata.pdd \sys\bin\medata.pdd |
|
118 device[VARID] =KERNEL_DIR\DEBUG_DIR\ecomm.ldd \sys\bin\ecomm.ldd |
|
119 device[VARID] =KERNEL_DIR\DEBUG_DIR\esoundsc.ldd \sys\bin\esoundsc.ldd |
|
120 device[VARID] =KERNEL_DIR\DEBUG_DIR\pipelib.ldd \sys\bin\pipelib.ldd |
|
121 device[VARID] =KERNEL_DIR\DEBUG_DIR\minkda.ldd \sys\bin\minkda.ldd |
|
122 extension[VARID]=KERNEL_DIR\DEBUG_DIR\exstart.dll \sys\bin\exstart.dll |
|
123 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_resmanpsl.PDD \sys\bin\resman.pdd |
|
124 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_PCI.DLL \sys\bin\pci.dll |
|
125 extension[VARID]=KERNEL_DIR\DEBUG_DIR\IIC.DLL \sys\bin\IIC.dll |
|
126 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_CSI.dll \sys\bin\CSI.dll |
|
127 #ifndef INST_ARM4 |
|
128 extension[VARID]=KERNEL_DIR\DEBUG_DIR\evfp.dll \sys\bin\evfp.dll |
|
129 #endif |
|
130 |
|
131 // Rom paging config |
|
132 #ifdef PAGED_ROM |
|
133 pagedrom |
|
134 compress |
|
135 #endif |
|
136 |
|
137 #ifdef BTRACE |
|
138 #define BTRACE_INCLUDED |
|
139 extension[VARID]=KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_btracex.ldd \sys\bin\btracex.ldd |
|
140 file=ABI_DIR\DEBUG_DIR\btracec.dll \sys\bin\btracec.dll |
|
141 #endif |
|
142 define BTRACEX_LDD _PLATFORM_NAME_btracex.ldd |
|
143 |
|
144 #ifdef ENABLE_RESTRICTED_CODE |
|
145 // USB Drivers |
|
146 #ifndef __USB |
|
147 REM Feature USB is not included in this ROM |
|
148 #elif defined(SYMBIAN_ENABLE_USB_OTG_HOST) && defined(SYMBIAN_INCLUDE_USB_OTG_HOST) |
|
149 extension[VARID]= KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_USBCC.DLL \Sys\Bin\USBCC.DLL |
|
150 #else |
|
151 REM USB has neither been explicitely included nor excluded |
|
152 #endif |
|
153 #endif // ENABLE_RESTRICTED_CODE |
|
154 |
|
155 //#endif // __USB |
|
156 |
|
157 #ifdef ENABLE_RESTRICTED_CODE |
|
158 //SD Media Driver |
|
159 #ifdef SYMBIAN_USE_DMA_V2 |
|
160 extension[VARID]= KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_epbussdiov_v2.dll \sys\bin\mmc.dll |
|
161 #else |
|
162 extension[VARID]= KERNEL_DIR\DEBUG_DIR\_PLATFORM_NAME_epbussdiov.dll \sys\bin\mmc.dll |
|
163 #endif |
|
164 extension[VARID]= KERNEL_DIR\DEBUG_DIR\epbussd.dll \sys\bin\epbusm.dll |
|
165 extension[VARID]= KERNEL_DIR\DEBUG_DIR\medsd.pdd \sys\bin\medmmc.pdd |
|
166 #endif // ENABLE_RESTRICTED_CODE |
|
167 |
|
168 #if defined(_NAND2) |
|
169 #ifdef WITH_FLEXIBLE_MM |
|
170 #include "../fne1_tb/base_ne1nand2.iby" |
|
171 #else |
|
172 #include "../ne1_tb/base_ne1nand2.iby" |
|
173 #endif |
|
174 |
|
175 #else |
|
176 data=EPOCROOT##epoc32\rom\##VARIANT##\estarttechview.txt \sys\data\estart.txt |
|
177 #endif |
|
178 |
|
179 // Use correct euser |
|
180 #ifdef SMP |
|
181 #define EUSER_DLL euser_v6k_smp.dll |
|
182 #else |
|
183 #define EUSER_DLL euser_v6k.dll |
|
184 #endif |
|
185 |
|
186 define HAL_DLL _PLATFORM_NAME_hal.dll |
|
187 define ESTART_EXE _PLATFORM_NAME_e32strt.exe |
|
188 define KEYMAP_FILE _PLATFORM_NAME_ekdata |
|
189 |
|
190 #if !defined(SYMBIAN_GRAPHICS_USE_GCE) |
|
191 define SCDV_DLL _omapqvga_scdv.dll |
|
192 #else |
|
193 #ifdef __TEXTSHELL_OBY__ |
|
194 define SCDV_DLL _omapqvga_scdv.dll |
|
195 #else |
|
196 define SCDV_DLL _generic_scdv.dll |
|
197 #endif |
|
198 #endif //!SYMBIAN_GRAPHICS_USE_GCE |