tlb.hh (8809:bb10807da889) tlb.hh (8922:17f037ad8918)
1/*
2 * Copyright (c) 2010 ARM Limited
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

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

209 Translation *translation, Mode mode);
210
211 // Checkpointing
212 void serialize(std::ostream &os);
213 void unserialize(Checkpoint *cp, const std::string &section);
214
215 void regStats();
216
1/*
2 * Copyright (c) 2010 ARM Limited
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

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

209 Translation *translation, Mode mode);
210
211 // Checkpointing
212 void serialize(std::ostream &os);
213 void unserialize(Checkpoint *cp, const std::string &section);
214
215 void regStats();
216
217 // Get the port from the table walker and return it
218 virtual Port *getPort();
217 /**
218 * Get the table walker master port. This is used for migrating
219 * port connections during a CPU takeOverFrom() call. For
220 * architectures that do not have a table walker, NULL is
221 * returned, hence the use of a pointer rather than a
222 * reference. For ARM this method will always return a valid port
223 * pointer.
224 *
225 * @return A pointer to the walker master port
226 */
227 virtual MasterPort* getMasterPort();
219
220 // Caching misc register values here.
221 // Writing to misc registers needs to invalidate them.
222 // translateFunctional/translateSe/translateFs checks if they are
223 // invalid and call updateMiscReg if necessary.
224protected:
225 SCTLR sctlr;
226 bool isPriv;

--- 28 unchanged lines hidden ---
228
229 // Caching misc register values here.
230 // Writing to misc registers needs to invalidate them.
231 // translateFunctional/translateSe/translateFs checks if they are
232 // invalid and call updateMiscReg if necessary.
233protected:
234 SCTLR sctlr;
235 bool isPriv;

--- 28 unchanged lines hidden ---