From: Giacomo Travaglini Date: Wed, 13 Jun 2018 08:33:39 +0000 (+0100) Subject: arch-arm: Fix missing Request allocation X-Git-Tag: v19.0.0.0~2064 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c77e7692bd581844526401f449a69ebf0b8afe4;p=gem5.git 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 Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/11095 Maintainer: Andreas Sandberg --- diff --git a/src/arch/arm/stage2_mmu.cc b/src/arch/arm/stage2_mmu.cc index c6f3ba7c1..f043db29e 100644 --- a/src/arch/arm/stage2_mmu.cc +++ b/src/arch/arm/stage2_mmu.cc @@ -113,6 +113,7 @@ Stage2MMU::Stage2Translation::Stage2Translation(Stage2MMU &_parent, : data(_data), numBytes(0), event(_event), parent(_parent), oVAddr(_oVAddr), fault(NoFault) { + req = std::make_shared(); } void