os/kernelhwsrv/kernel/eka/nkernsmp/nkern_int.mmh
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2005-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/nkernsmp/nkern_int.mmh
    15 // 
    16 //
    17 
    18 macro				__KERNEL_MODE__
    19 
    20 #ifndef __BUILD_AS_THUMB__
    21 ALWAYS_BUILD_AS_ARM
    22 #endif
    23 
    24 // Pick up any Variant or ASSP headers first
    25 #ifdef VariantNKernIncludePath
    26 macro				__VARIANT_NKERN_INCLUDE_PATH_PRESENT__
    27 userinclude			VariantNKernIncludePath
    28 systeminclude		VariantNKernIncludePath
    29 #endif
    30 #ifdef AsspNKernIncludePath
    31 macro				__ASSP_NKERN_INCLUDE_PATH_PRESENT__
    32 userinclude			AsspNKernIncludePath
    33 systeminclude		AsspNKernIncludePath
    34 #endif
    35 
    36 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
    37 SYMBIAN_BASE_SYSTEMINCLUDE(nkernsmp)
    38 
    39 userinclude			../include
    40 #ifdef SYMBIAN_OLD_EXPORT_LOCATION
    41 systeminclude		../include
    42 #endif
    43 userinclude			../include/nkernsmp
    44 #ifdef SYMBIAN_OLD_EXPORT_LOCATION
    45 systeminclude		../include/nkernsmp
    46 #endif
    47 
    48 #ifdef MARM
    49 SYMBIAN_BASE_SYSTEMINCLUDE(nkernsmp/arm)
    50 #ifdef SYMBIAN_OLD_EXPORT_LOCATION
    51 systeminclude		../include/nkernsmp/arm
    52 #endif
    53 USERINCLUDE		../include/nkernsmp/arm
    54 #endif	// MARM
    55 
    56 #ifdef X86
    57 SYMBIAN_BASE_SYSTEMINCLUDE(nkernsmp/x86)
    58 #ifdef SYMBIAN_OLD_EXPORT_LOCATION
    59 systeminclude		../include/nkernsmp/x86
    60 #endif
    61 USERINCLUDE		../include/nkernsmp/x86
    62 #endif	// X86
    63 
    64 #ifdef WINS
    65 #error	No SMP on WINS
    66 #endif	// WINS
    67 
    68 #define	NKERN_DIR	nkernsmp
    69 
    70 #ifdef STANDALONE_NANOKERNEL
    71 #ifndef	ExtraNKernIncludePath
    72 #ifdef MARM
    73 #define	ExtraNKernIncludePath	SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(kernel/arm)
    74 #elif defined(X86)
    75 #define	ExtraNKernIncludePath	SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(kernel/x86)
    76 #endif
    77 #endif
    78 #ifdef	ExtraNKernIncludePath
    79 userinclude			ExtraNKernIncludePath
    80 systeminclude		ExtraNKernIncludePath
    81 #endif
    82 #endif