base.hh (6658:f4de76601762) base.hh (7045:e21fe6a62b1c)
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;

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

227 virtual void unserialize(Checkpoint *cp, const std::string &section);
228
229 // These functions are only used in CPU models that split
230 // effective address computation from the actual memory access.
231 void setEA(Addr EA) { panic("BaseSimpleCPU::setEA() not implemented\n"); }
232 Addr getEA() { panic("BaseSimpleCPU::getEA() not implemented\n");
233 M5_DUMMY_RETURN}
234
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;

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

227 virtual void unserialize(Checkpoint *cp, const std::string &section);
228
229 // These functions are only used in CPU models that split
230 // effective address computation from the actual memory access.
231 void setEA(Addr EA) { panic("BaseSimpleCPU::setEA() not implemented\n"); }
232 Addr getEA() { panic("BaseSimpleCPU::getEA() not implemented\n");
233 M5_DUMMY_RETURN}
234
235 void prefetch(Addr addr, unsigned flags)
236 {
237 // need to do this...
238 }
235 void prefetch(Addr addr, unsigned flags);
236 void writeHint(Addr addr, int size, unsigned flags);
239
237
240 void writeHint(Addr addr, int size, unsigned flags)
241 {
242 // need to do this...
243 }
244
245
246 Fault copySrcTranslate(Addr src);
247
248 Fault copy(Addr dest);
249
250 // The register accessor methods provide the index of the
251 // instruction's operand (e.g., 0 or 1), not the architectural
252 // register index, to simplify the implementation of register
253 // renaming. We find the architectural register index by indexing

--- 150 unchanged lines hidden ---
238 Fault copySrcTranslate(Addr src);
239
240 Fault copy(Addr dest);
241
242 // The register accessor methods provide the index of the
243 // instruction's operand (e.g., 0 or 1), not the architectural
244 // register index, to simplify the implementation of register
245 // renaming. We find the architectural register index by indexing

--- 150 unchanged lines hidden ---