diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:38 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:38 -0400 |
commit | c95fe261abab85bee247737a3d171378689891e0 (patch) | |
tree | 75569e5baa06a7bd25870505a48a3ddf24916475 /src/cpu/inorder/resource.hh | |
parent | 4c979f9325f0c82f3284ce0fb0cc118d77268cb5 (diff) | |
download | gem5-c95fe261abab85bee247737a3d171378689891e0.tar.xz |
inorder: bug in mdu
segfault was caused by squashed multiply thats in the process of an event.
use isProcessing flag to handle this and cleanup the MDU code
Diffstat (limited to 'src/cpu/inorder/resource.hh')
-rw-r--r-- | src/cpu/inorder/resource.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/inorder/resource.hh b/src/cpu/inorder/resource.hh index fcf01065a..91d144a64 100644 --- a/src/cpu/inorder/resource.hh +++ b/src/cpu/inorder/resource.hh @@ -389,7 +389,7 @@ class ResourceRequest /** Get/Set IsProcessing variables */ bool isProcessing() { return processing; } - void setProcessing() { processing = true; } + void setProcessing(bool cond = true) { processing = cond; } /** Get/Set IsWaiting variables */ bool isMemStall() { return memStall; } |