HAL (Hardware Abstraction Layer)

The structure of the HAL has not changed between EKA1 and EKA2, but you may still need to make some changes.

Groups are new, and the HAL handler functions have changed. The location of Config files and Values files, the signatures and the behavioural requirements of accessor functions for derived attributes have not changed.

However note that:

  • the implementation of existing EKA1 HAL handler functions may need changing to conform with the general coding changes required by EKA2; see Important Changes between EKA1 and Kernel Architecture 2.

  • it should rarely be necessary to write accessor functions for derived attributes, as all likely functions are already implemented in ...\hal\src\userhal.cpp.

The functions UserSvr::HalGet() and UserSvr::HalSet() are no longer used. They now return KErrNotSupported and are kept for binary compatibility purposes.