diff options
author | Andrea Mondelli <Andrea.Mondelli@ucf.edu> | 2019-03-19 13:56:59 -0400 |
---|---|---|
committer | Andrea Mondelli <Andrea.Mondelli@ucf.edu> | 2019-03-21 18:15:13 +0000 |
commit | 487ea069be405844e1fcf4aa1ed274b74f601c39 (patch) | |
tree | 6a96d3a17964ff7666d1bcd93a0bff6eaa0ab208 /src/arch/arm/table_walker.cc | |
parent | 699ba19096a5a8ea7eea93a2a8768910ca176b0b (diff) | |
download | gem5-487ea069be405844e1fcf4aa1ed274b74f601c39.tar.xz |
dev-arm: ambiguous use of getPort()
The recent introduction of getPort() creates a conflict with
the existing method used in arm MMU.
This patch rename the old getPort() in getDMAPort() according
to the returned value (DmaPort class type)
Change-Id: Ief3d83650fd6b08490522341631244be06e380ce
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17469
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/arch/arm/table_walker.cc')
-rw-r--r-- | src/arch/arm/table_walker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/table_walker.cc b/src/arch/arm/table_walker.cc index 21257de59..d310e9ee6 100644 --- a/src/arch/arm/table_walker.cc +++ b/src/arch/arm/table_walker.cc @@ -102,7 +102,7 @@ void TableWalker::setMMU(Stage2MMU *m, MasterID master_id) { stage2Mmu = m; - port = &m->getPort(); + port = &m->getDMAPort(); masterId = master_id; } |