|
1 /* |
|
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * ne1_tb/power.mmp |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #define __USING_ASSP_REGISTER_API__ |
|
22 #define __USING_ASSP_INTERRUPT_API__ |
|
23 |
|
24 #include <variant.mmh> |
|
25 #include "kernel/kern_ext.mmh" |
|
26 |
|
27 target VariantTarget(power,dll) |
|
28 targettype kext |
|
29 linkas power.dll |
|
30 romtarget power.dll |
|
31 |
|
32 |
|
33 // uncomment the line below to remove any reference to the idlehandler PIL |
|
34 // this disables power managent |
|
35 //#define NO_IDLE_HANDLER_PIL |
|
36 #ifdef NO_IDLE_HANDLER_PIL |
|
37 macro __NO_IDLE_HANDLER_PIL__ |
|
38 #endif |
|
39 |
|
40 USERINCLUDE inc |
|
41 SYMBIAN_BASE_SYSTEMINCLUDE(ne1_tb) |
|
42 |
|
43 SYMBIAN_ASSP_SYSTEMINCLUDE(naviengine) |
|
44 SYMBIAN_BASE_SYSTEMINCLUDE(drivers) |
|
45 SYMBIAN_NE1_TB_SYSTEMINCLUDE(specific) |
|
46 |
|
47 |
|
48 #if defined(SMP) && !defined(NO_IDLE_HANDLER_PIL) |
|
49 USERINCLUDE ../../../../os/kernelhwsrv/kernel/eka/include/drivers/smppower/sample_idlehandler |
|
50 #endif |
|
51 |
|
52 sourcepath ../../../../os/kernelhwsrv/kernel/eka/drivers/power/binary |
|
53 source bpower.cpp |
|
54 |
|
55 sourcepath specific |
|
56 source power.cpp power.cia |
|
57 |
|
58 #if defined(SMP) && !defined(NO_IDLE_HANDLER_PIL) |
|
59 staticlibrary idlehelper.lib |
|
60 staticlibrary sample_smpidlehandler.lib |
|
61 #endif |
|
62 |
|
63 library VariantTarget(ecust,lib) |
|
64 |
|
65 deffile ./~/power.def |
|
66 nostrictdef |
|
67 |
|
68 epocallowdlldata |
|
69 |
|
70 uid 0x1000008d 0x100039e8 |
|
71 VENDORID 0x70000001 |
|
72 |
|
73 capability all |
|
74 SMPSAFE |