1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kernel/eka/nkernsmp/nkern_int.mmh Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,82 @@
1.4 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// e32/nkernsmp/nkern_int.mmh
1.18 +//
1.19 +//
1.20 +
1.21 +macro __KERNEL_MODE__
1.22 +
1.23 +#ifndef __BUILD_AS_THUMB__
1.24 +ALWAYS_BUILD_AS_ARM
1.25 +#endif
1.26 +
1.27 +// Pick up any Variant or ASSP headers first
1.28 +#ifdef VariantNKernIncludePath
1.29 +macro __VARIANT_NKERN_INCLUDE_PATH_PRESENT__
1.30 +userinclude VariantNKernIncludePath
1.31 +systeminclude VariantNKernIncludePath
1.32 +#endif
1.33 +#ifdef AsspNKernIncludePath
1.34 +macro __ASSP_NKERN_INCLUDE_PATH_PRESENT__
1.35 +userinclude AsspNKernIncludePath
1.36 +systeminclude AsspNKernIncludePath
1.37 +#endif
1.38 +
1.39 +OS_LAYER_SYSTEMINCLUDE_SYMBIAN
1.40 +SYMBIAN_BASE_SYSTEMINCLUDE(nkernsmp)
1.41 +
1.42 +userinclude ../include
1.43 +#ifdef SYMBIAN_OLD_EXPORT_LOCATION
1.44 +systeminclude ../include
1.45 +#endif
1.46 +userinclude ../include/nkernsmp
1.47 +#ifdef SYMBIAN_OLD_EXPORT_LOCATION
1.48 +systeminclude ../include/nkernsmp
1.49 +#endif
1.50 +
1.51 +#ifdef MARM
1.52 +SYMBIAN_BASE_SYSTEMINCLUDE(nkernsmp/arm)
1.53 +#ifdef SYMBIAN_OLD_EXPORT_LOCATION
1.54 +systeminclude ../include/nkernsmp/arm
1.55 +#endif
1.56 +USERINCLUDE ../include/nkernsmp/arm
1.57 +#endif // MARM
1.58 +
1.59 +#ifdef X86
1.60 +SYMBIAN_BASE_SYSTEMINCLUDE(nkernsmp/x86)
1.61 +#ifdef SYMBIAN_OLD_EXPORT_LOCATION
1.62 +systeminclude ../include/nkernsmp/x86
1.63 +#endif
1.64 +USERINCLUDE ../include/nkernsmp/x86
1.65 +#endif // X86
1.66 +
1.67 +#ifdef WINS
1.68 +#error No SMP on WINS
1.69 +#endif // WINS
1.70 +
1.71 +#define NKERN_DIR nkernsmp
1.72 +
1.73 +#ifdef STANDALONE_NANOKERNEL
1.74 +#ifndef ExtraNKernIncludePath
1.75 +#ifdef MARM
1.76 +#define ExtraNKernIncludePath SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(kernel/arm)
1.77 +#elif defined(X86)
1.78 +#define ExtraNKernIncludePath SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(kernel/x86)
1.79 +#endif
1.80 +#endif
1.81 +#ifdef ExtraNKernIncludePath
1.82 +userinclude ExtraNKernIncludePath
1.83 +systeminclude ExtraNKernIncludePath
1.84 +#endif
1.85 +#endif