dev-arm: Automatically assign PCI device ids in attachPciDevice
authorCiro Santilli <ciro.santilli@arm.com>
Thu, 24 Oct 2019 16:35:13 +0000 (17:35 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Thu, 28 Nov 2019 11:13:43 +0000 (11:13 +0000)
commitbcf041f257623e5c9e77d35b7531bae59edc0423
tree5e9a8c9ec4683df4cff5d8b6e702ccb0a82ae899
parent43e9d8745eea637fd3f1f4f42b170384689f9d1c
dev-arm: Automatically assign PCI device ids in attachPciDevice

Simulation scripts currently need to assign PCI device addresses when
adding new devices. This change moves this responsibility to the
VExpress_GEM5_BASE::attachPciDevice method.

Change-Id: I6d62af8a8f9176d964cc011dd8fb9744154bbb87
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22830
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
configs/common/FSConfig.py
configs/example/arm/devices.py
src/dev/arm/RealView.py