base.hh (7720:65d338a8dba4) base.hh (7725:00ea9430643b)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

225 virtual void unserialize(Checkpoint *cp, const std::string &section);
226
227 // These functions are only used in CPU models that split
228 // effective address computation from the actual memory access.
229 void setEA(Addr EA) { panic("BaseSimpleCPU::setEA() not implemented\n"); }
230 Addr getEA() { panic("BaseSimpleCPU::getEA() not implemented\n");
231 M5_DUMMY_RETURN}
232
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

225 virtual void unserialize(Checkpoint *cp, const std::string &section);
226
227 // These functions are only used in CPU models that split
228 // effective address computation from the actual memory access.
229 void setEA(Addr EA) { panic("BaseSimpleCPU::setEA() not implemented\n"); }
230 Addr getEA() { panic("BaseSimpleCPU::getEA() not implemented\n");
231 M5_DUMMY_RETURN}
232
233 void prefetch(Addr addr, unsigned flags);
234 void writeHint(Addr addr, int size, unsigned flags);
235
236 Fault copySrcTranslate(Addr src);
237
238 Fault copy(Addr dest);
239
240 // The register accessor methods provide the index of the
241 // instruction's operand (e.g., 0 or 1), not the architectural
242 // register index, to simplify the implementation of register
243 // renaming. We find the architectural register index by indexing
244 // into the instruction's own operand index table. Note that a
245 // raw pointer to the StaticInst is provided instead of a
246 // ref-counted StaticInstPtr to redice overhead. This is fine as
247 // long as these methods don't copy the pointer into any long-term

--- 147 unchanged lines hidden ---
233 // The register accessor methods provide the index of the
234 // instruction's operand (e.g., 0 or 1), not the architectural
235 // register index, to simplify the implementation of register
236 // renaming. We find the architectural register index by indexing
237 // into the instruction's own operand index table. Note that a
238 // raw pointer to the StaticInst is provided instead of a
239 // ref-counted StaticInstPtr to redice overhead. This is fine as
240 // long as these methods don't copy the pointer into any long-term

--- 147 unchanged lines hidden ---