diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-07-18 18:17:48 -0500 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-07-18 18:17:48 -0500 |
commit | f3d8d293424c9267babb84647c6aeb124acb0a4a (patch) | |
tree | c3a81187448e969959d67891dd5c0404fcfd501e /src/mem | |
parent | 926ab6e6dbc2417f6c103512481a60e64be4fea8 (diff) | |
download | gem5-f3d8d293424c9267babb84647c6aeb124acb0a4a.tar.xz |
ruby: removed dead files
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/ruby/system/ProcessorInterface.hh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/mem/ruby/system/ProcessorInterface.hh b/src/mem/ruby/system/ProcessorInterface.hh deleted file mode 100644 index d76e29f65..000000000 --- a/src/mem/ruby/system/ProcessorInterface.hh +++ /dev/null @@ -1,45 +0,0 @@ - -struct ProcessorRequest { - vector<CacheRequest*> cache_requests; -}; - -class ProcessorInterface { - -public: - - void read_atomic(const Address & paddr, void* data, int len) { - assert(paddr.getLineAddress() + RubyConfig::dataBlockBytes() >= paddr + len); - // for now, atomics can't span two blocks. Maybe fix this later - } - - void read(const Address & paddr, const Address & rip, AccessModeType atype, void* data, const int len) { - - // create the CacheRequests - ProcessorRequest* this_request = new ProcessorRequest; - Address split_addr = paddr; - int len_remaining = len; - while (split_addr.getAddress() < paddr.getAddress() + len) { - int split_len = (split_addr.getAddress() + len_remaining <= split_addr.getLineAddress() + RubyConfig::dataBlockBytes()) ? - len_remaining : - RubyConfig::dataBlockBytes() - split_addr.getOffset(); - CacheRequest creq = new CacheRequest( line_address(split_addr), - split_addr, - CacheRequestType_LD, - rip, - atype, - split_len, - PretchBit_No, - laddr, - 0); // SMT thread id); - this_request->cache_requests.push_back(creq); - split_addr += split_len; - len_remaining -= split_len; - } - outstanding_requests.push_back(this_request); - - } - -private: - vector<ProcessorRequest*> outstanding_requests; - Sequencer* m_sequencer; -}; |