pagetable_walker.hh (8948:e95ee70f876c) | pagetable_walker.hh (8953:488d45aeb672) |
---|---|
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 --- 118 unchanged lines hidden (view full) --- 127 translation(_translation), 128 functional(_isFunctional), timing(false), 129 retrying(false), started(false) 130 { 131 } 132 void initState(ThreadContext * _tc, BaseTLB::Mode _mode, 133 bool _isTiming = false); 134 Fault startWalk(); | 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 --- 118 unchanged lines hidden (view full) --- 127 translation(_translation), 128 functional(_isFunctional), timing(false), 129 retrying(false), started(false) 130 { 131 } 132 void initState(ThreadContext * _tc, BaseTLB::Mode _mode, 133 bool _isTiming = false); 134 Fault startWalk(); |
135 Fault startFunctional(Addr &addr, Addr &pageSize); | 135 Fault startFunctional(Addr &addr, unsigned &logBytes); |
136 bool recvPacket(PacketPtr pkt); 137 bool isRetrying(); 138 bool wasStarted(); 139 bool isTiming(); 140 void retry(); 141 std::string name() const {return walker->name();} 142 143 private: --- 20 unchanged lines hidden (view full) --- 164 senderWalk(_senderWalk), saved(_saved) {} 165 }; 166 167 public: 168 // Kick off the state machine. 169 Fault start(ThreadContext * _tc, BaseTLB::Translation *translation, 170 RequestPtr req, BaseTLB::Mode mode); 171 Fault startFunctional(ThreadContext * _tc, Addr &addr, | 136 bool recvPacket(PacketPtr pkt); 137 bool isRetrying(); 138 bool wasStarted(); 139 bool isTiming(); 140 void retry(); 141 std::string name() const {return walker->name();} 142 143 private: --- 20 unchanged lines hidden (view full) --- 164 senderWalk(_senderWalk), saved(_saved) {} 165 }; 166 167 public: 168 // Kick off the state machine. 169 Fault start(ThreadContext * _tc, BaseTLB::Translation *translation, 170 RequestPtr req, BaseTLB::Mode mode); 171 Fault startFunctional(ThreadContext * _tc, Addr &addr, |
172 Addr &pageSize, BaseTLB::Mode mode); | 172 unsigned &logBytes, BaseTLB::Mode mode); |
173 MasterPort &getMasterPort(const std::string &if_name, int idx = -1); 174 175 protected: 176 // The TLB we're supposed to load. 177 TLB * tlb; 178 System * sys; 179 MasterID masterId; 180 --- 29 unchanged lines hidden --- | 173 MasterPort &getMasterPort(const std::string &if_name, int idx = -1); 174 175 protected: 176 // The TLB we're supposed to load. 177 TLB * tlb; 178 System * sys; 179 MasterID masterId; 180 --- 29 unchanged lines hidden --- |