Always enable user mode access for performance monitors

QEMU implements the cycle count register read by
'Genode::Trace::timestamp()', but does not report a supported debug model
version for Cortex-A9.
This commit is contained in:
Christian Prochaska
2019-02-12 19:54:06 +01:00
parent 392d3a1a54
commit b74e427801

View File

@@ -190,8 +190,13 @@ PUBLIC static FIASCO_INIT_CPU
void
Perf_cnt::init_cpu()
{
if (!is_avail())
return;
/*
* QEMU implements the cycle count register read by
* 'Genode::Trace::timestamp()', but does not report a supported debug model
* version for Cortex-A9.
*/
//if (!is_avail())
//return;
_nr_counters = (pmcr() >> 11) & 0x1f;