fetch.hh (4182:5b2c0d266107) | fetch.hh (4302:c45514c856b0) |
---|---|
1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 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; --- 72 unchanged lines hidden (view full) --- 81 public: 82 /** Default constructor. */ 83 IcachePort(DefaultFetch<Impl> *_fetch) 84 : Port(_fetch->name() + "-iport"), fetch(_fetch) 85 { } 86 87 bool snoopRangeSent; 88 | 1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 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; --- 72 unchanged lines hidden (view full) --- 81 public: 82 /** Default constructor. */ 83 IcachePort(DefaultFetch<Impl> *_fetch) 84 : Port(_fetch->name() + "-iport"), fetch(_fetch) 85 { } 86 87 bool snoopRangeSent; 88 |
89 virtual void setPeer(Port *port); 90 |
|
89 protected: 90 /** Atomic version of receive. Panics. */ 91 virtual Tick recvAtomic(PacketPtr pkt); 92 93 /** Functional version of receive. Panics. */ 94 virtual void recvFunctional(PacketPtr pkt); 95 96 /** Receives status change. Other than range changing, panics. */ --- 82 unchanged lines hidden (view full) --- 179 void setActiveThreads(std::list<unsigned> *at_ptr); 180 181 /** Sets pointer to time buffer used to communicate to the next stage. */ 182 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr); 183 184 /** Initialize stage. */ 185 void initStage(); 186 | 91 protected: 92 /** Atomic version of receive. Panics. */ 93 virtual Tick recvAtomic(PacketPtr pkt); 94 95 /** Functional version of receive. Panics. */ 96 virtual void recvFunctional(PacketPtr pkt); 97 98 /** Receives status change. Other than range changing, panics. */ --- 82 unchanged lines hidden (view full) --- 181 void setActiveThreads(std::list<unsigned> *at_ptr); 182 183 /** Sets pointer to time buffer used to communicate to the next stage. */ 184 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr); 185 186 /** Initialize stage. */ 187 void initStage(); 188 |
189 /** Tells the fetch stage that the Icache is set. */ 190 void setIcache(); 191 |
|
187 /** Processes cache completion event. */ 188 void processCacheCompletion(PacketPtr pkt); 189 190 /** Begins the drain of the fetch stage. */ 191 bool drain(); 192 193 /** Resumes execution after a drain. */ 194 void resume(); --- 291 unchanged lines hidden --- | 192 /** Processes cache completion event. */ 193 void processCacheCompletion(PacketPtr pkt); 194 195 /** Begins the drain of the fetch stage. */ 196 bool drain(); 197 198 /** Resumes execution after a drain. */ 199 void resume(); --- 291 unchanged lines hidden --- |