dev: Make DMA devices use their own ports for functional accesses.
authorGabe Black <gabe.black@gmail.com>
Fri, 4 Dec 2020 09:49:48 +0000 (01:49 -0800)
committerGabe Black <gabe.black@gmail.com>
Thu, 31 Dec 2020 10:19:12 +0000 (10:19 +0000)
commit9e97dbe8c8a77643197b28737f47d9ef64d8bb17
treeb84a5cfe53ea4f7c2e51f21013676bf15ab49c70
parentf16bfed9ea8cc14aeab8a03e28431a299ae0eff2
dev: Make DMA devices use their own ports for functional accesses.

DMA devices already have ports they use for non-functional accesses. We
can just attach a port proxy to that instead of getting one from the
system object.

Change-Id: I5e9adee43c7fe07b4c90978dbb7ec71468caadbb
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38481
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alexandru Duțu <alexandru.dutu@amd.com>
src/dev/dma_device.cc
src/dev/dma_device.hh