mm_disk.hh (9235:5aa4896ed55a) mm_disk.hh (10905:a6ca6831e775)
1/*
2 * Copyright (c) 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;

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

56 params() const
57 {
58 return dynamic_cast<const Params *>(_params);
59 }
60
61 virtual Tick read(PacketPtr pkt);
62 virtual Tick write(PacketPtr pkt);
63
1/*
2 * Copyright (c) 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;

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

56 params() const
57 {
58 return dynamic_cast<const Params *>(_params);
59 }
60
61 virtual Tick read(PacketPtr pkt);
62 virtual Tick write(PacketPtr pkt);
63
64 virtual void serialize(std::ostream &os);
64 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
65};
66
67#endif //__DEV_SPARC_MM_DISK_HH__
68
65};
66
67#endif //__DEV_SPARC_MM_DISK_HH__
68