dtod.hh (11168:f98eb2da15a4) | dtod.hh (11347:faf5195f6ca7) |
---|---|
1/* 2 * Copyright (c) 2004-2006 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; --- 46 unchanged lines hidden (view full) --- 55 DumbTOD(const Params *p); 56 57 const Params * 58 params() const 59 { 60 return dynamic_cast<const Params *>(_params); 61 } 62 | 1/* 2 * Copyright (c) 2004-2006 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; --- 46 unchanged lines hidden (view full) --- 55 DumbTOD(const Params *p); 56 57 const Params * 58 params() const 59 { 60 return dynamic_cast<const Params *>(_params); 61 } 62 |
63 virtual Tick read(PacketPtr pkt); 64 virtual Tick write(PacketPtr pkt); | 63 Tick read(PacketPtr pkt) override; 64 Tick write(PacketPtr pkt) override; |
65 66 void serialize(CheckpointOut &cp) const override; 67 void unserialize(CheckpointIn &cp) override; 68}; 69 70#endif // __DEV_BADDEV_HH__ | 65 66 void serialize(CheckpointOut &cp) const override; 67 void unserialize(CheckpointIn &cp) override; 68}; 69 70#endif // __DEV_BADDEV_HH__ |