Hello Nikos Nikoleris,
I'd like you to do a code review. Please visit
https://gem5-review.googlesource.com/11469
to review the following change.
Change subject: cpu: Fix bug introduced by RequestPtr type change
......................................................................
cpu: Fix bug introduced by RequestPtr type change
Missing buffer allocation in mwaitAtomic.
Change-Id: Ifccb6df2427df8b0daac5ee6a99e5cca0b20825e
Signed-off-by: Giacomo Travaglini <[email protected]>
Reviewed-by: Nikos Nikoleris <[email protected]>
---
M src/cpu/base.cc
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/cpu/base.cc b/src/cpu/base.cc
index 1a497db..878e655 100644
--- a/src/cpu/base.cc
+++ b/src/cpu/base.cc
@@ -318,7 +318,8 @@
assert(tid < numThreads);
AddressMonitor &monitor = addressMonitor[tid];
- RequestPtr req;
+ RequestPtr req = std::make_shared<Request>();
+
Addr addr = monitor.vAddr;
int block_size = cacheLineSize();
uint64_t mask = ~((uint64_t)(block_size - 1));
--
To view, visit https://gem5-review.googlesource.com/11469
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: Ifccb6df2427df8b0daac5ee6a99e5cca0b20825e
Gerrit-Change-Number: 11469
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Nikos Nikoleris <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev