dev-arm: Fix GICv3 overflow for INTID > 256
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 8 Mar 2019 11:06:21 +0000 (11:06 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 27 Mar 2019 13:29:26 +0000 (13:29 +0000)
commite8a6811ad6105605d1932627c3737fe9b645f8d0
tree7b331a8e15960259d9c00164a1c9b0702eb47715
parente36839e7780df11065ab0a08abaf3fcf68135aa7
dev-arm: Fix GICv3 overflow for INTID > 256

SPIs can get to a maximum number of 1023, so that an uint8_t is not capable
of representing all of them.

Change-Id: I7a2c43b41ac93eabdfcf8311681240416b954177
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17631
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/dev/arm/gic_v3_distributor.hh