|
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/nkern/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(nkern) |
|
38 |
|
39 userinclude ../include |
|
40 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
41 systeminclude ../include |
|
42 #endif |
|
43 userinclude ../include/nkern |
|
44 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
45 systeminclude ../include/nkern |
|
46 #endif |
|
47 |
|
48 #ifdef MARM |
|
49 SYMBIAN_BASE_SYSTEMINCLUDE(nkern/arm) |
|
50 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
51 systeminclude ../include/nkern/arm |
|
52 #endif |
|
53 USERINCLUDE ../include/nkern/arm |
|
54 #endif // MARM |
|
55 |
|
56 #ifdef X86 |
|
57 SYMBIAN_BASE_SYSTEMINCLUDE(nkern/x86) |
|
58 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
59 systeminclude ../include/nkern/x86 |
|
60 #endif |
|
61 USERINCLUDE ../include/nkern/x86 |
|
62 #endif // X86 |
|
63 |
|
64 #ifdef WINS |
|
65 SYMBIAN_BASE_SYSTEMINCLUDE(nkern/win32) |
|
66 userinclude ../include/nkern/win32 |
|
67 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
68 systeminclude ../include/nkern/win32 |
|
69 #endif |
|
70 #endif // WINS |
|
71 |
|
72 #define NKERN_DIR nkern |
|
73 |
|
74 #ifdef STANDALONE_NANOKERNEL |
|
75 #ifndef ExtraNKernIncludePath |
|
76 #ifdef MARM |
|
77 #define ExtraNKernIncludePath SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(kernel/arm) |
|
78 #elif defined(X86) |
|
79 #define ExtraNKernIncludePath SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(kernel/x86) |
|
80 #endif |
|
81 #endif |
|
82 #ifdef ExtraNKernIncludePath |
|
83 userinclude ExtraNKernIncludePath |
|
84 systeminclude ExtraNKernIncludePath |
|
85 #endif |
|
86 #endif |