Sequencer.hh (7910:8a92b39be50e) | Sequencer.hh (8164:b043c0efa024) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 18 unchanged lines hidden (view full) --- 27 */ 28 29#ifndef __MEM_RUBY_SYSTEM_SEQUENCER_HH__ 30#define __MEM_RUBY_SYSTEM_SEQUENCER_HH__ 31 32#include <iostream> 33 34#include "base/hashmap.hh" | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 18 unchanged lines hidden (view full) --- 27 */ 28 29#ifndef __MEM_RUBY_SYSTEM_SEQUENCER_HH__ 30#define __MEM_RUBY_SYSTEM_SEQUENCER_HH__ 31 32#include <iostream> 33 34#include "base/hashmap.hh" |
35#include "mem/protocol/AccessModeType.hh" | 35#include "mem/protocol/RubyAccessMode.hh" |
36#include "mem/protocol/CacheRequestType.hh" 37#include "mem/protocol/GenericMachineType.hh" 38#include "mem/protocol/PrefetchBit.hh" 39#include "mem/ruby/common/Address.hh" 40#include "mem/ruby/common/Consumer.hh" 41#include "mem/ruby/common/Global.hh" 42#include "mem/ruby/system/RubyPort.hh" 43 --- 64 unchanged lines hidden (view full) --- 108 void printStats(std::ostream& out) const; 109 void checkCoherence(const Address& address); 110 111 void markRemoved(); 112 void removeRequest(SequencerRequest* request); 113 114 private: 115 bool tryCacheAccess(const Address& addr, CacheRequestType type, | 36#include "mem/protocol/CacheRequestType.hh" 37#include "mem/protocol/GenericMachineType.hh" 38#include "mem/protocol/PrefetchBit.hh" 39#include "mem/ruby/common/Address.hh" 40#include "mem/ruby/common/Consumer.hh" 41#include "mem/ruby/common/Global.hh" 42#include "mem/ruby/system/RubyPort.hh" 43 --- 64 unchanged lines hidden (view full) --- 108 void printStats(std::ostream& out) const; 109 void checkCoherence(const Address& address); 110 111 void markRemoved(); 112 void removeRequest(SequencerRequest* request); 113 114 private: 115 bool tryCacheAccess(const Address& addr, CacheRequestType type, |
116 const Address& pc, AccessModeType access_mode, | 116 const Address& pc, RubyAccessMode access_mode, |
117 int size, DataBlock*& data_ptr); 118 void issueRequest(const RubyRequest& request); 119 120 void hitCallback(SequencerRequest* request, 121 GenericMachineType mach, 122 DataBlock& data, 123 bool success, 124 Time initialRequestTime, --- 54 unchanged lines hidden --- | 117 int size, DataBlock*& data_ptr); 118 void issueRequest(const RubyRequest& request); 119 120 void hitCallback(SequencerRequest* request, 121 GenericMachineType mach, 122 DataBlock& data, 123 bool success, 124 Time initialRequestTime, --- 54 unchanged lines hidden --- |