cpu.hh (10698:829adc48e175) | cpu.hh (10905:a6ca6831e775) |
---|---|
1/* 2 * Copyright (c) 2011 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 175 unchanged lines hidden (view full) --- 184 { 185 return 0; 186 } 187 188 // number of simulated loads 189 Counter numLoad; 190 Counter startNumLoad; 191 | 1/* 2 * Copyright (c) 2011 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 175 unchanged lines hidden (view full) --- 184 { 185 return 0; 186 } 187 188 // number of simulated loads 189 Counter numLoad; 190 Counter startNumLoad; 191 |
192 virtual void serialize(std::ostream &os); 193 virtual void unserialize(Checkpoint *cp, const std::string §ion); | 192 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 193 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; |
194 195 // These functions are only used in CPU models that split 196 // effective address computation from the actual memory access. 197 void setEA(Addr EA) { panic("SimpleCPU::setEA() not implemented\n"); } 198 Addr getEA() const { panic("SimpleCPU::getEA() not implemented\n"); } 199 200 // The register accessor methods provide the index of the 201 // instruction's operand (e.g., 0 or 1), not the architectural --- 267 unchanged lines hidden --- | 194 195 // These functions are only used in CPU models that split 196 // effective address computation from the actual memory access. 197 void setEA(Addr EA) { panic("SimpleCPU::setEA() not implemented\n"); } 198 Addr getEA() const { panic("SimpleCPU::getEA() not implemented\n"); } 199 200 // The register accessor methods provide the index of the 201 // instruction's operand (e.g., 0 or 1), not the architectural --- 267 unchanged lines hidden --- |