dev-arm: Check for gem5 extensions in GicV2
authorTiago Muck <tiago.muck@arm.com>
Thu, 16 May 2019 21:25:17 +0000 (16:25 -0500)
committerTiago Mück <tiago.muck@arm.com>
Fri, 18 Oct 2019 22:44:26 +0000 (22:44 +0000)
commit1c047f8b92f5708bbef50d24cf47902d5da313e3
treeebf7d6e9cd44081eba92f8d251ccd6a5f15c6984
parent36e59917a72b5d654b115bf995cbba659b069874
dev-arm: Check for gem5 extensions in GicV2

Using GicV2 without setting the gem5_extensions parameter in a
config  with more than 8 is not allowed to prevent overflow of
the 8-bit mask.

Change-Id: I780c6985e8f44ed780b4f74f9a27805124e23a7b
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19288
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/gic_v2.hh