kernel/eka/kernel/ekern.mmp
changeset 43 96e5fb8b040d
equal deleted inserted replaced
-1:000000000000 43:96e5fb8b040d
       
     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
       
    24 SYMBIAN_BASE_SYSTEMINCLUDE(kernel)
       
    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
       
   142 source					 stimer.cpp sutils.cpp random.cpp
       
   143 source					 sprocess.cpp sthread.cpp 
       
   144 source 					 smqueue.cpp
       
   145 source					 sproperty.cpp
       
   146 source					 ssharedio.cpp
       
   147 source					 ssecure.cpp
       
   148 source					 emi.cpp
       
   149 source					 objectix.cpp
       
   150 source					 sbtrace.cpp
       
   151 source					 stest.cpp
       
   152 source					 sshbuf.cpp smap.cpp
       
   153 
       
   154 sourcepath				../klib
       
   155 source					dbase.cpp kdes8.cpp
       
   156 source					kheap.cpp bma.cpp
       
   157 
       
   158 sourcepath				../common
       
   159 source					alloc.cpp array.cpp des8.cpp heap.cpp mem.cpp
       
   160 source					secure.cpp
       
   161 macro					__EXPORT_MEMCPY__
       
   162 #ifdef MARM
       
   163 source					gcchelp.cpp
       
   164 #endif
       
   165 
       
   166 #ifdef SMP
       
   167 deffile 				ekernsmp.def
       
   168 nostrictdef
       
   169 #else
       
   170 deffile 				ekern.def
       
   171 #endif
       
   172 
       
   173 start wins
       
   174 
       
   175 win32_library			kernel32.lib
       
   176 #if defined(VC32)
       
   177 win32_library			msvcrt.lib
       
   178 #endif
       
   179 end
       
   180 
       
   181 epocstacksize			0x1000
       
   182 
       
   183 // uids
       
   184 #ifdef SMP
       
   185 uid						0x1000008b 0x10287037
       
   186 #else
       
   187 uid						0x1000008b 0x100041af
       
   188 #endif
       
   189 vendorid				0x70000001
       
   190 
       
   191 noexportlibrary
       
   192 linkas					ekern.exe
       
   193 
       
   194 capability				all
       
   195 
       
   196 SMPSAFE