diff options
author | Korey Sewell <ksewell@umich.edu> | 2010-06-24 15:34:19 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2010-06-24 15:34:19 -0400 |
commit | 71b67d408bb595471a57dbe8e40cf5ac82c5d3b7 (patch) | |
tree | 4f0b3bc4fd671a4476799cdce0c282f970d313cc /src/cpu/inorder/resources/cache_unit.hh | |
parent | f95430d97e0a9a77b920ab3ca24b134bc682f655 (diff) | |
download | gem5-71b67d408bb595471a57dbe8e40cf5ac82c5d3b7.tar.xz |
inorder: cleanup virtual functions
remove the annotation 'virtual' from function declaration that isnt being derived from
Diffstat (limited to 'src/cpu/inorder/resources/cache_unit.hh')
-rw-r--r-- | src/cpu/inorder/resources/cache_unit.hh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cpu/inorder/resources/cache_unit.hh b/src/cpu/inorder/resources/cache_unit.hh index 7e3052bd7..177f81559 100644 --- a/src/cpu/inorder/resources/cache_unit.hh +++ b/src/cpu/inorder/resources/cache_unit.hh @@ -101,30 +101,30 @@ class CacheUnit : public Resource protected: /** Atomic version of receive. Panics. */ - virtual Tick recvAtomic(PacketPtr pkt); + Tick recvAtomic(PacketPtr pkt); /** Functional version of receive. Panics. */ - virtual void recvFunctional(PacketPtr pkt); + void recvFunctional(PacketPtr pkt); /** Receives status change. Other than range changing, panics. */ - virtual void recvStatusChange(Status status); + void recvStatusChange(Status status); /** Returns the address ranges of this device. */ - virtual void getDeviceAddressRanges(AddrRangeList &resp, + void getDeviceAddressRanges(AddrRangeList &resp, AddrRangeList &snoop) { resp.clear(); snoop.clear(); } /** Timing version of receive. Handles setting fetch to the * proper status to start fetching. */ - virtual bool recvTiming(PacketPtr pkt); + bool recvTiming(PacketPtr pkt); /** Handles doing a retry of a failed fetch. */ - virtual void recvRetry(); + void recvRetry(); }; void init(); - virtual ResourceRequest* getRequest(DynInstPtr _inst, int stage_num, + ResourceRequest* getRequest(DynInstPtr _inst, int stage_num, int res_idx, int slot_num, unsigned cmd); @@ -238,7 +238,7 @@ class CacheUnitEvent : public ResourceEvent { virtual ~CacheUnitEvent() {} /** Processes a resource event. */ - virtual void process(); + void process(); }; class CacheRequest : public ResourceRequest |