diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-06-13 09:33:39 +0100 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-06-13 09:30:17 +0000 |
commit | 6c77e7692bd581844526401f449a69ebf0b8afe4 (patch) | |
tree | 04f02b95e78367889f615d5f28377bfd413d3fa2 | |
parent | f47e3289f94c2fd24e23566cd5dfcb20e293290e (diff) | |
download | gem5-6c77e7692bd581844526401f449a69ebf0b8afe4.tar.xz |
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.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11095
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
-rw-r--r-- | src/arch/arm/stage2_mmu.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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<Request>(); } void |