tsunami.hh (8741:491297d019f3) | tsunami.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; --- 110 unchanged lines hidden (view full) --- 119 */ 120 virtual Addr calcPciIOAddr(Addr addr); 121 122 /** 123 * Calculate the address for a memory location on the PCI bus. 124 */ 125 virtual Addr calcPciMemAddr(Addr addr); 126 | 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; --- 110 unchanged lines hidden (view full) --- 119 */ 120 virtual Addr calcPciIOAddr(Addr addr); 121 122 /** 123 * Calculate the address for a memory location on the PCI bus. 124 */ 125 virtual Addr calcPciMemAddr(Addr addr); 126 |
127 /** 128 * Serialize this object to the given output stream. 129 * @param os The stream to serialize to. 130 */ 131 virtual void serialize(std::ostream &os); 132 133 /** 134 * Reconstruct the state of this object from a checkpoint. 135 * @param cp The checkpoint use. 136 * @param section The section name of this object 137 */ 138 virtual void unserialize(Checkpoint *cp, const std::string §ion); | 127 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 128 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; |
139}; 140 141#endif // __DEV_TSUNAMI_HH__ | 129}; 130 131#endif // __DEV_TSUNAMI_HH__ |