diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-C661B40F-1439-587F-9E8E-DB2DFC79C040.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-C661B40F-1439-587F-9E8E-DB2DFC79C040.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,33 @@ + + + + + +HAL GroupsDescription of HAL groups to add new attributes. +

You can extend HAL groups to add new attributes and new types of hardware.

+
Extending +an existing hardware type

Each HAL group has an associated +set of function numbers. For example, the enumerators of TDisplayHalFunction, in u32std.h define the functions associated +with the HAL group EHalGroupDisplay.

In this +specific case, new state can be represented by a new function number, +and by changing the HAL handler implementation to deal with the new function number.

It is +important to note that any new function numbers should not follow +consecutively from those defined by Symbian. Instead, choose high +values so that they are guaranteed not to clash with any future Symbian +extensions. Symbian will always use new values that follow consecutively +from previous Symbian defined values.

+
New +hardware type

Although up to 32 HAL groups can be defined, +Symbian platform does not use all 32. This leaves some values that +can be used for new hardware.

In this case choose a HAL group +number at the high end of the range, so that it is guaranteed not +to clash with any future Symbian extensions. Symbian will always use +new values that follow consecutively from previous Symbian defined +values.

+
\ No newline at end of file