Sequencer.hh (8164:b043c0efa024) | Sequencer.hh (8165:5955406f7ed0) |
---|---|
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; --- 19 unchanged lines hidden (view full) --- 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/RubyAccessMode.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; --- 19 unchanged lines hidden (view full) --- 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/RubyAccessMode.hh" |
36#include "mem/protocol/CacheRequestType.hh" | 36#include "mem/protocol/RubyRequestType.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 44class DataBlock; --- 62 unchanged lines hidden (view full) --- 107 void print(std::ostream& out) const; 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: | 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 44class DataBlock; --- 62 unchanged lines hidden (view full) --- 107 void print(std::ostream& out) const; 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, | 115 bool tryCacheAccess(const Address& addr, RubyRequestType type, |
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, --- 55 unchanged lines hidden --- | 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, --- 55 unchanged lines hidden --- |