diff options
Diffstat (limited to 'src/cpu/inorder/resources/use_def.hh')
-rw-r--r-- | src/cpu/inorder/resources/use_def.hh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/cpu/inorder/resources/use_def.hh b/src/cpu/inorder/resources/use_def.hh index adfdd6ed3..d2cc55315 100644 --- a/src/cpu/inorder/resources/use_def.hh +++ b/src/cpu/inorder/resources/use_def.hh @@ -55,17 +55,16 @@ class UseDefUnit : public Resource { public: UseDefUnit(std::string res_name, int res_id, int res_width, int res_latency, InOrderCPU *_cpu, ThePipeline::Params *params); - virtual ~UseDefUnit() {} - virtual ResourceRequest* getRequest(DynInstPtr _inst, int stage_num, + ResourceRequest* getRequest(DynInstPtr _inst, int stage_num, int res_idx, int slot_num, unsigned cmd); - virtual ResReqPtr findRequest(DynInstPtr inst); + ResReqPtr findRequest(DynInstPtr inst); - virtual void execute(int slot_num); + void execute(int slot_num); - virtual void squash(DynInstPtr inst, int stage_num, + void squash(DynInstPtr inst, int stage_num, InstSeqNum squash_seq_num, ThreadID tid); void updateAfterContextSwitch(DynInstPtr inst, ThreadID tid); |