summaryrefslogtreecommitdiff
path: root/cpu/ozone/front_end.hh
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-04-24 17:10:06 -0400
committerKevin Lim <ktlim@umich.edu>2006-04-24 17:10:06 -0400
commite704960c80033dd008907caa7c24742a1020d302 (patch)
tree9a1b231394df98bbe1f16a3e0812219ed07bb0d1 /cpu/ozone/front_end.hh
parent676afbe2c729575f3468d4ae0aad31c5ac382ab8 (diff)
downloadgem5-e704960c80033dd008907caa7c24742a1020d302.tar.xz
Updates to Ozone model for quiesce, store conditionals.
--HG-- extra : convert_revision : 72ddd75ad0b5783aca9484e7d178c2915ee8e355
Diffstat (limited to 'cpu/ozone/front_end.hh')
-rw-r--r--cpu/ozone/front_end.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpu/ozone/front_end.hh b/cpu/ozone/front_end.hh
index 251f4200c..2bff2544d 100644
--- a/cpu/ozone/front_end.hh
+++ b/cpu/ozone/front_end.hh
@@ -60,7 +60,7 @@ class FrontEnd
const bool is_branch = false, const bool branch_taken = false);
DynInstPtr getInst();
- void processCacheCompletion();
+ void processCacheCompletion(MemReqPtr &req);
void addFreeRegs(int num_freed);
@@ -109,6 +109,7 @@ class FrontEnd
SerializeBlocked,
SerializeComplete,
RenameBlocked,
+ QuiescePending,
BEBlocked
};
@@ -130,17 +131,16 @@ class FrontEnd
class ICacheCompletionEvent : public Event
{
private:
+ MemReqPtr req;
FrontEnd *frontEnd;
public:
- ICacheCompletionEvent(FrontEnd *_fe);
+ ICacheCompletionEvent(MemReqPtr &_req, FrontEnd *_fe);
virtual void process();
virtual const char *description();
};
- ICacheCompletionEvent cacheCompletionEvent;
-
MemInterface *icacheInterface;
#if !FULL_SYSTEM
@@ -174,6 +174,8 @@ class FrontEnd
void setPC(Addr val) { PC = val; }
void setNextPC(Addr val) { nextPC = val; }
+ void wakeFromQuiesce();
+
void dumpInsts();
private: