summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resource.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-02-18 14:28:22 -0500
committerKorey Sewell <ksewell@umich.edu>2011-02-18 14:28:22 -0500
commitc8837290251a300114975861575f59a58990b51a (patch)
treecd4e7183a33a3a9b724a78baf631dd74a480c9bf /src/cpu/inorder/resource.cc
parentff48afcf4f3d8cccc899c5840734228a5bebc045 (diff)
downloadgem5-c8837290251a300114975861575f59a58990b51a.tar.xz
inorder: add valid bit for resource requests
this will allow us to reuse resource requests within a resource instead of always dynamically allocating
Diffstat (limited to 'src/cpu/inorder/resource.cc')
-rw-r--r--src/cpu/inorder/resource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/inorder/resource.cc b/src/cpu/inorder/resource.cc
index 568e2759d..e6a0db021 100644
--- a/src/cpu/inorder/resource.cc
+++ b/src/cpu/inorder/resource.cc
@@ -407,7 +407,7 @@ int ResourceRequest::maxReqCount = 0;
ResourceRequest::ResourceRequest(Resource *_res, DynInstPtr _inst,
int stage_num, int res_idx, int slot_num,
unsigned _cmd)
- : res(_res), inst(_inst), cmd(_cmd), stageNum(stage_num),
+ : res(_res), inst(_inst), cmd(_cmd), valid(false), stageNum(stage_num),
resIdx(res_idx), slotNum(slot_num), completed(false),
squashed(false), processing(false), memStall(false)
{