arm, dev: refactor GIC Pl390 GICD_ITARGETSRn handling
authorCurtis Dunham <Curtis.Dunham@arm.com>
Tue, 31 Jan 2017 17:11:24 +0000 (17:11 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 3 Apr 2017 16:51:46 +0000 (16:51 +0000)
commit2f14baaabca315e078597e3441bf8cf3dc703264
tree554addecd71cc0f11855f9ee13adb7b58055f1cc
parentbbdd34d62863d2cc870568890dac0eb0f8be358c
arm, dev: refactor GIC Pl390 GICD_ITARGETSRn handling

The aforementioned registers (Interrupt Processor Targets Registers) are
banked per-CPU, but are read-only.  This patch eliminates the per-CPU
storage of these values that are simply computed.

Change-Id: I52cafc2f58e87dd54239a71326c01f4923544689
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2442
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Weiping Liao <weipingliao@google.com>
src/dev/arm/gic_pl390.cc
src/dev/arm/gic_pl390.hh
util/cpt_upgraders/arm-gicv2-banked-regs.py