|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-857F981E-711B-5CA8-AB37-5C700A6140FA" xml:lang="en"><title>HAL Groups |
|
13 and Handlers</title><shortdesc> List of HAL groups and the location of their associated handlers. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>Some of the handlers are part of Symbian platform generic code and do not |
|
15 require porting.</p> |
|
16 <table id="GUID-EE794194-6D85-5EBB-89AE-C7725B637E9F"> |
|
17 <tgroup cols="4"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/><colspec colname="col3"/> |
|
18 <tbody> |
|
19 <row> |
|
20 <entry><p> <b>HAL group</b> </p> </entry> |
|
21 <entry><p> <b>Location</b> </p> </entry> |
|
22 <entry><p> <b>Customizable?</b> </p> </entry> |
|
23 <entry><p> <b>Explicit registration required?</b> </p> </entry> |
|
24 </row> |
|
25 <row> |
|
26 <entry><p> <xref href="GUID-D60C5503-A176-354A-A655-22BE371178AE.dita"><apiname>EHalGroupVariant</apiname></xref> </p> </entry> |
|
27 <entry><p>Variant </p> </entry> |
|
28 <entry><p>Yes. It needs to be implemented as the <xref href="GUID-A83A7C3C-7DC0-3B9C-842F-70FCC751365D.dita#GUID-A83A7C3C-7DC0-3B9C-842F-70FCC751365D/GUID-825726CE-F200-3E26-B2F2-4C756BB45B1B"><apiname>Asic::VariantHal()</apiname></xref> function |
|
29 defined by the <xref href="GUID-A83A7C3C-7DC0-3B9C-842F-70FCC751365D.dita"><apiname>Asic</apiname></xref> class. </p> <p>See the template port: <filepath>...\template\template_variant\specific\variant.cpp</filepath> </p> </entry> |
|
30 <entry><p>No. It is done automatically as part of the kernel initialization. </p> </entry> |
|
31 </row> |
|
32 <row> |
|
33 <entry><p> <xref href="GUID-FB85CE22-DDFF-37E6-A6CE-7F70A994D371.dita"><apiname>EHalGroupPower</apiname></xref> </p> </entry> |
|
34 <entry><p>Power model </p> </entry> |
|
35 <entry><p>Yes. It needs to be implemented when implementing the power model. </p> <p>See |
|
36 the template port: <filepath>...\template\template_variant\specific\power.cpp</filepath> </p> </entry> |
|
37 <entry><p>No. It is done automatically as part of the kernel initialization. </p> </entry> |
|
38 </row> |
|
39 <row> |
|
40 <entry><p> <xref href="GUID-7F299BFC-D8A5-3A5A-B8DA-39BF42C99DC6.dita"><apiname>EHalGroupDisplay</apiname></xref> </p> </entry> |
|
41 <entry><p>LCD driver </p> </entry> |
|
42 <entry><p>Yes, when porting the LCD driver. </p> <p>See the template port: <filepath>...\template\template_variant\specific\lcd.cpp</filepath>. </p> </entry> |
|
43 <entry><p>Yes, during initialization of the driver. </p> </entry> |
|
44 </row> |
|
45 <row> |
|
46 <entry><p> <xref href="GUID-E22F7F41-C578-36B4-A7AB-AE0AEF520A69.dita"><apiname>EHalGroupDigitiser</apiname></xref> </p> </entry> |
|
47 <entry><p>Digitiser </p> </entry> |
|
48 <entry><p>Yes, when porting the digitiser. </p> <p>See the template port: <filepath>...\template\template_variant\specific\xyin.cpp</filepath>. </p> </entry> |
|
49 <entry><p>Yes, during initialization of the driver. </p> </entry> |
|
50 </row> |
|
51 <row> |
|
52 <entry><p> <xref href="GUID-7B4133F2-3BDC-3388-AC63-CD0EC6F73917.dita"><apiname>EHalGroupKeyboard</apiname></xref> </p> </entry> |
|
53 <entry><p>Keyboard driver </p> </entry> |
|
54 <entry><p>Yes, when porting the keyboard driver. </p> <p>See the template |
|
55 port: <filepath>...\template\template_variant\specific\keyboard.cpp</filepath>. </p> </entry> |
|
56 <entry><p>Yes, during initialization of the driver. </p> </entry> |
|
57 </row> |
|
58 <row> |
|
59 <entry><p> <xref href="GUID-F10DCE1F-756C-318D-B0D1-8C8F5255959E.dita"><apiname>EHalGroupKernel</apiname></xref> </p> </entry> |
|
60 <entry><p>Kernel </p> </entry> |
|
61 <entry><p>No. It is part of Symbian platform generic code. </p> </entry> |
|
62 <entry><p>No. It is done automatically as part of the kernel initialization. </p> </entry> |
|
63 </row> |
|
64 <row> |
|
65 <entry><p> <xref href="GUID-48EEA57D-56A8-3C5E-8DF0-75C051D86EAE.dita"><apiname>EHalGroupMedia</apiname></xref> </p> </entry> |
|
66 <entry><p>Media Driver </p> </entry> |
|
67 <entry><p>No. This is in the media driver LDD; this is a kernel extension |
|
68 and is implemented by Symbian platform. </p> </entry> |
|
69 <entry><p>Yes, during initialization of the driver/extension. </p> </entry> |
|
70 </row> |
|
71 <row> |
|
72 <entry><p> <xref href="GUID-B510C3F5-E11A-3107-B972-7FDEDB445BBA.dita"><apiname>EHalGroupEmulator</apiname></xref> </p> </entry> |
|
73 <entry><p>Emulator </p> </entry> |
|
74 <entry><p>No. The emulator is a port of Symbian platform maintained by Symbian. </p> </entry> |
|
75 <entry><p>Yes, during 3rd phase initialization of the emulator variant. </p> </entry> |
|
76 </row> |
|
77 <row> |
|
78 <entry><p> <xref href="GUID-E0A646D1-9EF3-30E3-BB91-11318C0DEC47.dita"><apiname>EHalGroupSound</apiname></xref> </p> </entry> |
|
79 <entry><p>Sound driver </p> </entry> |
|
80 <entry><p>Unlikely—the only example is in the sound driver maintained for |
|
81 backwards compatibility with pre-Symbian hardware. </p> </entry> |
|
82 <entry><p>Yes </p> </entry> |
|
83 </row> |
|
84 <row> |
|
85 <entry><p> <xref href="GUID-537AA230-18EF-3CDC-B708-CF3BE13AF34A.dita"><apiname>EHalGroupMouse</apiname></xref> </p> </entry> |
|
86 <entry><p>Emulator </p> </entry> |
|
87 <entry><p>Unlikely—the only example is in the emulator, which is a port of |
|
88 Symbian platform maintained by Symbian. </p> </entry> |
|
89 <entry><p>Yes </p> </entry> |
|
90 </row> |
|
91 </tbody> |
|
92 </tgroup> |
|
93 </table></conbody></concept> |