Deleted Added
sdiff udiff text old ( 11800:54436a1784dc ) new ( 12140:fab402159cdf )
full compact
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

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

95
96 std::vector<TlbEntry> tlb;
97
98 EntryList freeList;
99
100 TlbEntryTrie trie;
101 uint64_t lruSeq;
102
103 Fault translateInt(RequestPtr req, ThreadContext *tc);
104
105 Fault translate(RequestPtr req, ThreadContext *tc,
106 Translation *translation, Mode mode,
107 bool &delayedResponse, bool timing);
108
109 public:
110

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

137 * @param mode Request type (read/write/execute).
138 * @return A fault on failure, NoFault otherwise.
139 */
140 Fault finalizePhysical(RequestPtr req, ThreadContext *tc,
141 Mode mode) const;
142
143 TlbEntry * insert(Addr vpn, TlbEntry &entry);
144
145 // Checkpointing
146 void serialize(CheckpointOut &cp) const override;
147 void unserialize(CheckpointIn &cp) override;
148
149 /**
150 * Get the table walker master port. This is used for
151 * migrating port connections during a CPU takeOverFrom()
152 * call. For architectures that do not have a table walker,
153 * NULL is returned, hence the use of a pointer rather than a
154 * reference. For X86 this method will always return a valid
155 * port pointer.
156 *
157 * @return A pointer to the walker master port
158 */
159 BaseMasterPort *getMasterPort() override;
160 };
161}
162
163#endif // __ARCH_X86_TLB_HH__