tsunami_pchip.hh (9235:5aa4896ed55a) | tsunami_pchip.hh (10905:a6ca6831e775) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 75 unchanged lines hidden (view full) --- 84 85 Addr calcConfigAddr(int bus, int dev, int func); 86 Addr calcIOAddr(Addr addr); 87 Addr calcMemAddr(Addr addr); 88 89 virtual Tick read(PacketPtr pkt); 90 virtual Tick write(PacketPtr pkt); 91 | 1/* 2 * Copyright (c) 2004-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; --- 75 unchanged lines hidden (view full) --- 84 85 Addr calcConfigAddr(int bus, int dev, int func); 86 Addr calcIOAddr(Addr addr); 87 Addr calcMemAddr(Addr addr); 88 89 virtual Tick read(PacketPtr pkt); 90 virtual Tick write(PacketPtr pkt); 91 |
92 /** 93 * Serialize this object to the given output stream. 94 * @param os The stream to serialize to. 95 */ 96 virtual void serialize(std::ostream &os); 97 98 /** 99 * Reconstruct the state of this object from a checkpoint. 100 * @param cp The checkpoint use. 101 * @param section The section name of this object 102 */ 103 virtual void unserialize(Checkpoint *cp, const std::string §ion); | 92 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 93 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; |
104}; 105 106#endif // __TSUNAMI_PCHIP_HH__ | 94}; 95 96#endif // __TSUNAMI_PCHIP_HH__ |