|
1 // Copyright (c) 2003-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 "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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 #include <e32def.h> |
|
22 #include <comms-infras/nifagt.h> |
|
23 |
|
24 GLDEF_C void ImportPanic() |
|
25 { |
|
26 _LIT(KLDRIMPORT, "LDR-IMPORT"); |
|
27 const TInt KLdrImportedOrdinalDoesNotExist = 2; |
|
28 |
|
29 User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist); |
|
30 } |
|
31 |
|
32 /** |
|
33 .def file placeholder for CNifCompanionSession, obsolete in this version. |
|
34 */ |
|
35 extern "C" |
|
36 { |
|
37 EXPORT_C void NonExistentImport1(){ImportPanic();} |
|
38 } |
|
39 |
|
40 |
|
41 #if defined(__EABI__) || defined(__X86GCC__) |
|
42 /* |
|
43 .def file placeholders for RVCT EABI compliant compiler - when CSD agent includes nifutl.h it gets an |
|
44 extra export of the run time info for MComm, thus removed for EABI builds and replaced with these |
|
45 */ |
|
46 |
|
47 extern "C" |
|
48 { |
|
49 EXPORT_C void MCommReplacementImport1() { ImportPanic(); } |
|
50 EXPORT_C void MCommReplacementImport2() { ImportPanic(); } |
|
51 EXPORT_C void MCommReplacementImport3() { ImportPanic(); } |
|
52 EXPORT_C void MTimerReplacementImport1() { ImportPanic(); } |
|
53 EXPORT_C void MTimerReplacementImport2() { ImportPanic(); } |
|
54 EXPORT_C void MTimerReplacementImport3() { ImportPanic(); } |
|
55 } |
|
56 |
|
57 #endif |
|
58 |