dev, arm: Fix incorrect GIC address range sizes
authorAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 18 Jul 2018 15:53:18 +0000 (16:53 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 21 Aug 2018 17:20:10 +0000 (17:20 +0000)
commitd84a0714220ffcc10eed0530ec01ed1a01a4ad4b
tree2de78a70847c0ff77ea3aa367ef9bf82afbc6e90
parent4fdfd98230e780aeb068e3740742c7bff28fb859
dev, arm: Fix incorrect GIC address range sizes

The GICv2 specifies that 8KiB of the memory map is allocated to the
CPU interface and 4KiB is allocated to the distributor. The current
distributor size is off by 1 and the CPU interface is completely off
by a lot.

Change-Id: I90a9f669a46a37d79c6cc542087cf91f2044f104
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11769
src/dev/arm/RealView.py
src/dev/arm/gic_pl390.hh