Archived:Incorrect CPU information reported by HAL (Known Issue)
The HAL (Hardware Abstraction Layer) API provides information about CPU type, architecture, and clock speed. However, wrong values are reported for most S60 3rd ed., 5th ed., S^3/Anna and Belle devices. For example, on the Nokia 5800 XpressMusic, HAL reports that the processor speed is 187 MHz instead of 369 MHZ and that the CPU type is 'ARM9' instead of 'ARM11'. On the Nokia 5530 and the Nokia N97, you'll even get an unknown CPU architecture with Hex-value '0x0000000B'.
The following code returns wrong values for CPU clock speed, CPU ABI (Application Binary Interface), and CPU architecture:
TInt cpuSpeed, cpuABI, cpuArchitecture, ret;
ret = HAL::Get( HALData::ECPUSpeed, cpuSpeed );
ret = HAL::Get( HALData::ECPUABI, cpuABI );
ret = HAL::Get( HALData::ECPUArch, cpuArchitecture );
How to reproduce
Take the code above and let it run on a S60 3rd ed., 5th ed., S^3/Anna or Belle device.
No known solution.
Device specification pages on Nokia Developer provide information on CPU type and clock speed.