summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorPouya Fotouhi <Pouya.Fotouhi@amd.com>2019-10-22 17:29:57 -0500
committerPouya Fotouhi <pfotouhi@ucdavis.edu>2019-10-30 18:47:09 +0000
commite0040fe8fecbc2642cfc09de54a6a5b52cdf07ec (patch)
treeeadba2a17fa97e37139644ff73ab2bff56d04d08 /site_scons
parentfca416d1545f2833f4412f1750192b91df1f3ef1 (diff)
downloadgem5-e0040fe8fecbc2642cfc09de54a6a5b52cdf07ec.tar.xz
dev: Adding support for large BAR
During PCI setup, this patch checks if a Base Address Register (BAR) is used as a large BAR (64 bits rather than 32), and return proper address range. The order which updates are done is decided by kernel, so this patch implements both cases (writing lower or upper bits first). Bit 2 in a BAR indicates a 64-bit decoder (10X to be more exact, 11X is reserved). The addresses in BARAddrs are full addresses and are set to zero for BAR providing upper 32 bits to avoid conflicts in addr ranges reported. Change-Id: I93303d36ac83dab9ed6837c81e77c9dfb778f409 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22082 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'site_scons')
0 files changed, 0 insertions, 0 deletions