Hello Andreas Sandberg,
I'd like you to do a code review. Please visit
https://gem5-review.googlesource.com/11095
to review the following change.
Change subject: arch-arm: Fix missing Request allocation
......................................................................
arch-arm: Fix missing Request allocation
This patch is fixing a missing allocation for a Request buffer
in the Stage2Translation class.
Change-Id: I9ce7b85d3527c5b3cc895eb83e9a39641793b0bd
Signed-off-by: Giacomo Travaglini <giacomo.travagl...@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandb...@arm.com>
---
M src/arch/arm/stage2_mmu.cc
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/arch/arm/stage2_mmu.cc b/src/arch/arm/stage2_mmu.cc
index c6f3ba7..f043db2 100644
--- a/src/arch/arm/stage2_mmu.cc
+++ b/src/arch/arm/stage2_mmu.cc
@@ -113,6 +113,7 @@
: data(_data), numBytes(0), event(_event), parent(_parent),
oVAddr(_oVAddr),
fault(NoFault)
{
+ req = std::make_shared<Request>();
}
void
--
To view, visit https://gem5-review.googlesource.com/11095
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I9ce7b85d3527c5b3cc895eb83e9a39641793b0bd
Gerrit-Change-Number: 11095
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-Reviewer: Andreas Sandberg <andreas.sandb...@arm.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev