On 10/10/18 1:37 PM, Aaron Lindsay wrote: > Add arrays to hold the registers, the definitions themselves, access > functions, and logic to reset counters when PMCR.P is set. Update > filtering code to support counters other than PMCCNTR. Support migration > with raw read/write functions. > > Signed-off-by: Aaron Lindsay <alind...@codeaurora.org> > Signed-off-by: Aaron Lindsay <aclin...@gmail.com> > --- > target/arm/cpu.h | 3 + > target/arm/helper.c | 296 +++++++++++++++++++++++++++++++++++++++++--- > 2 files changed, 282 insertions(+), 17 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~