target-arm: Minimal implementation of performance counters
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 22 Mar 2011 12:16:16 +0000 (12:16 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 22 Jun 2011 15:02:08 +0000 (15:02 +0000)
commit37d8e02578e1c946bdd3d83dbfc92a0e51f5b7b4
treec8bf7a0dffbcc6db04bafb63c87a2fcbb090c969
parentbcf3137d8452cbed6fb8e6c7419386f218207274
target-arm: Minimal implementation of performance counters

Newer Linux kernels assume the existence of the performance counter
cp15 registers. Provide a minimal implementation of these registers.
We support no events. This should be compliant with the ARM ARM,
except that we don't implement the cycle counter.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h
target-arm/helper.c
target-arm/machine.c
target-arm/translate.c