os/kernelhwsrv/kernel/eka/nkernsmp/nkern_int.mmh
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of the License "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// e32/nkernsmp/nkern_int.mmh
sl@0
    15
// 
sl@0
    16
//
sl@0
    17
sl@0
    18
macro				__KERNEL_MODE__
sl@0
    19
sl@0
    20
#ifndef __BUILD_AS_THUMB__
sl@0
    21
ALWAYS_BUILD_AS_ARM
sl@0
    22
#endif
sl@0
    23
sl@0
    24
// Pick up any Variant or ASSP headers first
sl@0
    25
#ifdef VariantNKernIncludePath
sl@0
    26
macro				__VARIANT_NKERN_INCLUDE_PATH_PRESENT__
sl@0
    27
userinclude			VariantNKernIncludePath
sl@0
    28
systeminclude		VariantNKernIncludePath
sl@0
    29
#endif
sl@0
    30
#ifdef AsspNKernIncludePath
sl@0
    31
macro				__ASSP_NKERN_INCLUDE_PATH_PRESENT__
sl@0
    32
userinclude			AsspNKernIncludePath
sl@0
    33
systeminclude		AsspNKernIncludePath
sl@0
    34
#endif
sl@0
    35
sl@0
    36
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
sl@0
    37
SYMBIAN_BASE_SYSTEMINCLUDE(nkernsmp)
sl@0
    38
sl@0
    39
userinclude			../include
sl@0
    40
#ifdef SYMBIAN_OLD_EXPORT_LOCATION
sl@0
    41
systeminclude		../include
sl@0
    42
#endif
sl@0
    43
userinclude			../include/nkernsmp
sl@0
    44
#ifdef SYMBIAN_OLD_EXPORT_LOCATION
sl@0
    45
systeminclude		../include/nkernsmp
sl@0
    46
#endif
sl@0
    47
sl@0
    48
#ifdef MARM
sl@0
    49
SYMBIAN_BASE_SYSTEMINCLUDE(nkernsmp/arm)
sl@0
    50
#ifdef SYMBIAN_OLD_EXPORT_LOCATION
sl@0
    51
systeminclude		../include/nkernsmp/arm
sl@0
    52
#endif
sl@0
    53
USERINCLUDE		../include/nkernsmp/arm
sl@0
    54
#endif	// MARM
sl@0
    55
sl@0
    56
#ifdef X86
sl@0
    57
SYMBIAN_BASE_SYSTEMINCLUDE(nkernsmp/x86)
sl@0
    58
#ifdef SYMBIAN_OLD_EXPORT_LOCATION
sl@0
    59
systeminclude		../include/nkernsmp/x86
sl@0
    60
#endif
sl@0
    61
USERINCLUDE		../include/nkernsmp/x86
sl@0
    62
#endif	// X86
sl@0
    63
sl@0
    64
#ifdef WINS
sl@0
    65
#error	No SMP on WINS
sl@0
    66
#endif	// WINS
sl@0
    67
sl@0
    68
#define	NKERN_DIR	nkernsmp
sl@0
    69
sl@0
    70
#ifdef STANDALONE_NANOKERNEL
sl@0
    71
#ifndef	ExtraNKernIncludePath
sl@0
    72
#ifdef MARM
sl@0
    73
#define	ExtraNKernIncludePath	SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(kernel/arm)
sl@0
    74
#elif defined(X86)
sl@0
    75
#define	ExtraNKernIncludePath	SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(kernel/x86)
sl@0
    76
#endif
sl@0
    77
#endif
sl@0
    78
#ifdef	ExtraNKernIncludePath
sl@0
    79
userinclude			ExtraNKernIncludePath
sl@0
    80
systeminclude		ExtraNKernIncludePath
sl@0
    81
#endif
sl@0
    82
#endif