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