arch-arm: raise/clear IRQ when writing to PMOVSCLR/SET
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 4 Sep 2018 11:17:15 +0000 (13:17 +0200)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 28 Sep 2018 10:13:05 +0000 (10:13 +0000)
commit64b3a741f558c9fcfe70d27d74fe2c25d96770d7
tree4f2f525b61ab5de3d69078e2c2a8384a4febd803
parent7a6183aa6162419912daa5647d13f030ab0904e2
arch-arm: raise/clear IRQ when writing to PMOVSCLR/SET

Writing a 1 to the Overflow Flag Status register should trigger an
interrupt raise/clear depending on the register we are currently using
(PMOVSCLR for clearing and PMOVSSET for raising).

Change-Id: I2091456685a245712045cf7a4932ac36b7dded1d
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/12531
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/pmu.cc
src/arch/arm/pmu.hh