On 19 February 2014 23:57, Alistair Francis <alistair.fran...@xilinx.com> wrote: > This patch implements the ARM PMCCNTR register including > the disable and reset components of the PMCR register. > > Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com>
This breaks compilation of the arm-linux-user target (the qemu_clock_get_* functions are only available in system mode). You probably want to do something similar to how we handle the generic timers, where we #ifdef everything out. (I don't think Linux gives user space access to the perf monitor registers.) Other than that I think it looks good now. thanks -- PMM