dev, arm: Add gem5 extensions to support more than 8 cores
authorKarthik Sangaiah <karthik.sangaiah@arm.com>
Fri, 18 Sep 2015 15:49:28 +0000 (16:49 +0100)
committerKarthik Sangaiah <karthik.sangaiah@arm.com>
Fri, 18 Sep 2015 15:49:28 +0000 (16:49 +0100)
commit6fa936b021ac4d3030d20de5d037f1e7dd902cd9
treebbbaf5a03f3b79caeae43a6c7bc257dc208b3f52
parent413f3088eabf385507e854d74c0a5861e4d2856b
dev, arm: Add gem5 extensions to support more than 8 cores

Previous ARM-based simulations were limited to 8 cores due to
limitations in GICv2 and earlier. This changeset adds a set of
gem5-specific extensions that enable support for up to 256 cores.

When the gem5 extensions are enabled, the GIC uses CPU IDs instead of
a CPU bitmask in the GIC's register interface. To OS can enable the
extensions by setting bit 0x200 in ICDICTR.

This changeset is based on previous work by Matt Evans.
src/dev/arm/gic_pl390.cc
src/dev/arm/gic_pl390.hh
util/cpt_upgraders/arm-gem5-gic-ext.py [new file with mode: 0644]