diff options
author | Ciro Santilli <ciro.santilli@arm.com> | 2018-08-30 14:50:31 +0100 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@arm.com> | 2018-09-12 10:27:06 +0000 |
commit | cadb03d17cf048c84e484227b4b6fd62713b7a0c (patch) | |
tree | 2a59b6bff80541411668bbde05f77ece52b32332 /src/dev/arm/gic_pl390.hh | |
parent | 719eb033fe435133abf15501c249eec10d1c861f (diff) | |
download | gem5-cadb03d17cf048c84e484227b4b6fd62713b7a0c.tar.xz |
dev-arm: improve Pl390 parameters
Remove default dist_addr and cpu_addr register addresses since those are
purely platform specific.
Parametrize the cpu_size parameter. RealViewPBX has the Gic CPU and
distributor base too close for the newer CPU size of 0x2000, leading to
overlap.
This was introduced in I90a9f669a46a37d79c6cc542087cf91f2044f104 and makes
using RealViewPBX fail with:
fatal: system.membus has two ports responding within range
[0x1f000100 : 0x1f0020ff]:
system.realview.gic.pio
system.realview.gic.pio
Change-Id: Ic6c0e6b3d4705ff369eb739d54a1173a47819b7d
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/12491
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/dev/arm/gic_pl390.hh')
-rw-r--r-- | src/dev/arm/gic_pl390.hh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dev/arm/gic_pl390.hh b/src/dev/arm/gic_pl390.hh index 7fd4bcbda..7183877f5 100644 --- a/src/dev/arm/gic_pl390.hh +++ b/src/dev/arm/gic_pl390.hh @@ -110,8 +110,6 @@ class Pl390 : public BaseGic, public BaseGicRegisters GICC_APR2 = 0xd8, // active priority register 2 GICC_APR3 = 0xdc, // active priority register 3 GICC_IIDR = 0xfc, // cpu interface id register - - CPU_SIZE = 0x2000, }; static const int SGI_MAX = 16; // Number of Software Gen Interrupts |