mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-31 22:50:54 +00:00
It is not necessary to have a class, an object, and a generic header for the perfomance counter. The kernel merely enables the counter using cpu registers ('msr' instructions, no MMIO) on arm_v6 and arm_v7 only. Therefore this commit makes the header arm-specific and replaces class and global static object with a function for enabling the counter. Fixes #4217