pagetable_walker.hh (8832:247fee427324) | pagetable_walker.hh (8864:fe907afe14a3) |
---|---|
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 --- 66 unchanged lines hidden (view full) --- 75 void recvFunctional(PacketPtr pkt); 76 void recvRangeChange(); 77 void recvRetry(); 78 bool isSnooping() { return true; } 79 }; 80 81 friend class WalkerPort; 82 WalkerPort port; | 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 --- 66 unchanged lines hidden (view full) --- 75 void recvFunctional(PacketPtr pkt); 76 void recvRangeChange(); 77 void recvRetry(); 78 bool isSnooping() { return true; } 79 }; 80 81 friend class WalkerPort; 82 WalkerPort port; |
83 Port *getPort(const std::string &if_name, int idx = -1); | |
84 85 // State to track each walk of the page table 86 class WalkerState : public FastAlloc 87 { 88 private: 89 enum State { 90 Ready, 91 Waiting, --- 70 unchanged lines hidden (view full) --- 162 }; 163 164 public: 165 // Kick off the state machine. 166 Fault start(ThreadContext * _tc, BaseTLB::Translation *translation, 167 RequestPtr req, BaseTLB::Mode mode); 168 Fault startFunctional(ThreadContext * _tc, Addr &addr, 169 Addr &pageSize, BaseTLB::Mode mode); | 83 84 // State to track each walk of the page table 85 class WalkerState : public FastAlloc 86 { 87 private: 88 enum State { 89 Ready, 90 Waiting, --- 70 unchanged lines hidden (view full) --- 161 }; 162 163 public: 164 // Kick off the state machine. 165 Fault start(ThreadContext * _tc, BaseTLB::Translation *translation, 166 RequestPtr req, BaseTLB::Mode mode); 167 Fault startFunctional(ThreadContext * _tc, Addr &addr, 168 Addr &pageSize, BaseTLB::Mode mode); |
169 Port *getPort(const std::string &if_name, int idx = -1); |
|
170 171 protected: 172 // The TLB we're supposed to load. 173 TLB * tlb; 174 System * sys; 175 MasterID masterId; 176 177 // Functions for dealing with packets. --- 28 unchanged lines hidden --- | 170 171 protected: 172 // The TLB we're supposed to load. 173 TLB * tlb; 174 System * sys; 175 MasterID masterId; 176 177 // Functions for dealing with packets. --- 28 unchanged lines hidden --- |