author | William Roberts <williamr@symbian.org> |
Mon, 19 Jul 2010 15:53:40 +0100 | |
changeset 213 | cd1a471fd308 |
parent 109 | b3a1d9898418 |
child 181 | bd8f1e65581b |
child 247 | d8d70de2bd36 |
permissions | -rw-r--r-- |
0 | 1 |
// Copyright (c) 1997-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 the License "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 |
// e32/kernel/ekern.mmp |
|
15 |
// ekern.exe Kernel |
|
16 |
// |
|
17 |
// |
|
18 |
||
19 |
/** |
|
20 |
@file |
|
21 |
*/ |
|
22 |
||
23 |
OS_LAYER_SYSTEMINCLUDE_SYMBIAN |
|
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
24 |
SYMBIAN_BASE_SYSTEMINCLUDE(kernel) |
0 | 25 |
USERINCLUDE ../include/kernel |
26 |
||
27 |
#include <variant.mmh> |
|
28 |
macro __IN_KERNEL__ |
|
29 |
||
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
30 |
#ifdef MEMORY_MODEL_OPTIONS |
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
31 |
#include <memmodel.mmh> |
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
32 |
target MemoryModelTarget(ekern,exe) |
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
33 |
firstlib MemoryModelTarget(kc_exe,lib) |
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
34 |
#else |
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
35 |
target VariantTarget(ekern,exe) |
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
36 |
firstlib VariantTarget(kc_exe,lib) |
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
37 |
#endif |
0 | 38 |
|
39 |
targettype exexp |
|
40 |
||
41 |
#include "kern_int.mmh" |
|
42 |
||
43 |
// For emulator, specify newlib containing kernel-side definitions of new and delete operators |
|
44 |
// to override default library, containing user-side definitions, linked by toolchain for EXE and DLL targets |
|
45 |
#ifdef WINS |
|
46 |
newlib scppnwdl_kern.lib |
|
47 |
#endif |
|
48 |
||
49 |
#if defined(DEMAND_PAGING) |
|
50 |
// we have to keep this here, and not in kern_int.mmh, because media drivers |
|
51 |
// use the same macro name for different puposes... |
|
52 |
macro __DEMAND_PAGING__ |
|
109
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
90
diff
changeset
|
53 |
macro __DEMAND_PAGING_BENCHMARKS__ |
0 | 54 |
#endif |
55 |
||
56 |
||
57 |
#ifdef SMP |
|
58 |
#include "../nkernsmp/nkern.mmp" |
|
59 |
#else |
|
60 |
#include "../nkern/nkern.mmp" |
|
61 |
#endif |
|
62 |
||
63 |
#if defined(MARM) |
|
64 |
||
65 |
#if defined(EABI) |
|
66 |
// Symbian implementation of operator vector new / delete |
|
67 |
sourcepath . |
|
68 |
source array_eabi.cpp |
|
69 |
#endif |
|
70 |
||
71 |
#ifndef SMP |
|
72 |
sourcepath ../nkern |
|
73 |
source nk_old.cpp |
|
74 |
#endif |
|
75 |
sourcepath arm |
|
76 |
source cglobals.cpp cexec.cpp cexec.cia cinit.cpp |
|
77 |
source ckernel.cpp ckernel.cia cipc.cpp cipc.cia csched.cia |
|
78 |
source cutils.cpp cutils.cia |
|
79 |
source cache.cpp cache_maintenance.cia cache_maintenance.cpp |
|
80 |
source cache_maintenancev7.cia cache_external.cpp |
|
81 |
||
82 |
#ifdef DEMAND_PAGING |
|
83 |
source byte_pair.cia |
|
84 |
#endif |
|
85 |
||
86 |
sourcepath ../klib/arm |
|
87 |
source ckdes8.cia cumem.cia cbma.cia |
|
88 |
sourcepath ../common/arm |
|
109
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
90
diff
changeset
|
89 |
source carray.cia cdes8.cia cmem.cia |
0 | 90 |
#if defined(GCC32) |
91 |
source cgcchelp.cpp cgcchelp.cia |
|
92 |
#elif defined(ARMCC) |
|
93 |
source armcchlp.cpp |
|
94 |
#ifndef SBSV2 |
|
95 |
source armcchlp.cia |
|
96 |
#endif |
|
97 |
#endif |
|
98 |
||
99 |
#if defined(REPLACE_GENERIC_UTILS) |
|
100 |
macro __REPLACE_GENERIC_UTILS |
|
101 |
USERINCLUDE VariantReplacementUtilsPath |
|
102 |
sourcepath VariantReplacementUtilsPath |
|
103 |
source kernel.cia common.cia |
|
104 |
#endif |
|
105 |
||
106 |
#elif defined(X86) |
|
107 |
sourcepath . |
|
108 |
source byte_pair.cpp |
|
109 |
sourcepath x86 |
|
110 |
source cglobals.cpp cexec.cpp cinit.cpp |
|
111 |
source ckernel.cpp cipc.cpp csched.cpp |
|
112 |
source cutils.cpp abort.cpp cache.cpp |
|
113 |
source cexec.cia |
|
114 |
source ckernel.cia |
|
115 |
source csched.cia |
|
116 |
source cutils.cia |
|
117 |
sourcepath ../klib/x86 |
|
118 |
source cumem.cpp |
|
119 |
source cumem.cia |
|
120 |
sourcepath ../common/x86 |
|
121 |
userinclude ../common |
|
122 |
source cmem.cia |
|
123 |
||
124 |
||
125 |
#elif defined(WINS) |
|
126 |
||
127 |
sourcepath ../nkern |
|
128 |
source nk_old.cpp |
|
129 |
sourcepath ../common/win32 |
|
130 |
source seh.cpp |
|
131 |
||
132 |
sourcepath win32 |
|
133 |
source cboot.cpp |
|
134 |
source cglobals.cpp cexec.cpp cinit.cpp |
|
135 |
source ckernel.cpp csched.cpp |
|
136 |
source cutils.cpp cache.cpp |
|
137 |
||
138 |
library emulator.lib |
|
139 |
#endif |
|
140 |
||
141 |
#include "../memmodel/memmodel.mmp" |
|
142 |
||
143 |
sourcepath . |
|
144 |
source sglobals.cpp device.cpp eventq.cpp |
|
145 |
source sexec.cpp sinit.cpp skernel.cpp |
|
146 |
source scodeseg.cpp sipc.cpp notifier.cpp |
|
147 |
source object.cpp power.cpp server.cpp |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
148 |
source sha256.cpp securerng.cpp |
0 | 149 |
source stimer.cpp sutils.cpp random.cpp |
150 |
source sprocess.cpp sthread.cpp |
|
151 |
source smqueue.cpp |
|
152 |
source sproperty.cpp |
|
153 |
source ssharedio.cpp |
|
154 |
source ssecure.cpp |
|
155 |
source emi.cpp |
|
156 |
source objectix.cpp |
|
157 |
source sbtrace.cpp |
|
158 |
source stest.cpp |
|
159 |
source sshbuf.cpp smap.cpp |
|
90
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
160 |
source srandombuff.cpp |
947f0dc9f7a8
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
15
diff
changeset
|
161 |
source kerncorestats.cpp |
0 | 162 |
|
163 |
sourcepath ../klib |
|
164 |
source dbase.cpp kdes8.cpp |
|
165 |
source kheap.cpp bma.cpp |
|
166 |
||
167 |
sourcepath ../common |
|
109
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
90
diff
changeset
|
168 |
source alloc.cpp array.cpp des8.cpp mem.cpp |
b3a1d9898418
Revision: 201019
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
90
diff
changeset
|
169 |
source heap_hybrid.cpp debugfunction.cpp |
0 | 170 |
source secure.cpp |
171 |
macro __EXPORT_MEMCPY__ |
|
172 |
#ifdef MARM |
|
173 |
source gcchelp.cpp |
|
174 |
#endif |
|
175 |
||
176 |
#ifdef SMP |
|
177 |
deffile ekernsmp.def |
|
178 |
nostrictdef |
|
179 |
#else |
|
180 |
deffile ekern.def |
|
181 |
#endif |
|
182 |
||
183 |
start wins |
|
184 |
||
185 |
win32_library kernel32.lib |
|
186 |
#if defined(VC32) |
|
187 |
win32_library msvcrt.lib |
|
188 |
#endif |
|
189 |
end |
|
190 |
||
191 |
epocstacksize 0x1000 |
|
192 |
||
193 |
// uids |
|
194 |
#ifdef SMP |
|
195 |
uid 0x1000008b 0x10287037 |
|
196 |
#else |
|
197 |
uid 0x1000008b 0x100041af |
|
198 |
#endif |
|
199 |
vendorid 0x70000001 |
|
200 |
||
201 |
noexportlibrary |
|
202 |
linkas ekern.exe |
|
203 |
||
204 |
capability all |
|
205 |
||
206 |
SMPSAFE |