pagetable_walker.hh (8953:488d45aeb672) pagetable_walker.hh (8975:7f36d4436074)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 56 unchanged lines hidden (view full) ---

65 public:
66 WalkerPort(const std::string &_name, Walker * _walker) :
67 MasterPort(_name, _walker), walker(_walker)
68 {}
69
70 protected:
71 Walker *walker;
72
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 56 unchanged lines hidden (view full) ---

65 public:
66 WalkerPort(const std::string &_name, Walker * _walker) :
67 MasterPort(_name, _walker), walker(_walker)
68 {}
69
70 protected:
71 Walker *walker;
72
73 bool recvTiming(PacketPtr pkt);
73 bool recvTimingResp(PacketPtr pkt);
74
75 /**
76 * Snooping a coherence request, do nothing.
77 */
74
75 /**
76 * Snooping a coherence request, do nothing.
77 */
78 bool recvTimingSnoop(PacketPtr pkt) { return true; }
78 void recvTimingSnoopReq(PacketPtr pkt) { }
79 Tick recvAtomicSnoop(PacketPtr pkt) { return 0; }
80 void recvFunctionalSnoop(PacketPtr pkt) { }
81 void recvRetry();
82 bool isSnooping() const { return true; }
83 };
84
85 friend class WalkerPort;
86 WalkerPort port;

--- 87 unchanged lines hidden (view full) ---

174
175 protected:
176 // The TLB we're supposed to load.
177 TLB * tlb;
178 System * sys;
179 MasterID masterId;
180
181 // Functions for dealing with packets.
79 Tick recvAtomicSnoop(PacketPtr pkt) { return 0; }
80 void recvFunctionalSnoop(PacketPtr pkt) { }
81 void recvRetry();
82 bool isSnooping() const { return true; }
83 };
84
85 friend class WalkerPort;
86 WalkerPort port;

--- 87 unchanged lines hidden (view full) ---

174
175 protected:
176 // The TLB we're supposed to load.
177 TLB * tlb;
178 System * sys;
179 MasterID masterId;
180
181 // Functions for dealing with packets.
182 bool recvTiming(PacketPtr pkt);
182 bool recvTimingResp(PacketPtr pkt);
183 void recvRetry();
184 bool sendTiming(WalkerState * sendingState, PacketPtr pkt);
185
186 public:
187
188 void setTLB(TLB * _tlb)
189 {
190 tlb = _tlb;

--- 19 unchanged lines hidden ---
183 void recvRetry();
184 bool sendTiming(WalkerState * sendingState, PacketPtr pkt);
185
186 public:
187
188 void setTLB(TLB * _tlb)
189 {
190 tlb = _tlb;

--- 19 unchanged lines hidden ---