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; --- 49 unchanged lines hidden (view full) --- 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); 65 |
66 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 67 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; |
68}; 69 70#endif // __DEV_BADDEV_HH__ |