physical.hh (10905:a6ca6831e775) | physical.hh (11168:f98eb2da15a4) |
---|---|
1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 183 unchanged lines hidden (view full) --- 192 /** 193 * Serialize all the memories in the system. This is independent 194 * of the logical memory layout, and the serialization only sees 195 * the contigous backing store, independent of how this maps to 196 * logical memories in the guest system. 197 * 198 * @param os stream to serialize to 199 */ | 1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 183 unchanged lines hidden (view full) --- 192 /** 193 * Serialize all the memories in the system. This is independent 194 * of the logical memory layout, and the serialization only sees 195 * the contigous backing store, independent of how this maps to 196 * logical memories in the guest system. 197 * 198 * @param os stream to serialize to 199 */ |
200 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; | 200 void serialize(CheckpointOut &cp) const override; |
201 202 /** 203 * Serialize a specific store. 204 * 205 * @param store_id Unique identifier of this backing store 206 * @param range The address range of this backing store 207 * @param pmem The host pointer to this backing store 208 */ 209 void serializeStore(CheckpointOut &cp, unsigned int store_id, 210 AddrRange range, uint8_t* pmem) const; 211 212 /** 213 * Unserialize the memories in the system. As with the 214 * serialization, this action is independent of how the address 215 * ranges are mapped to logical memories in the guest system. 216 */ | 201 202 /** 203 * Serialize a specific store. 204 * 205 * @param store_id Unique identifier of this backing store 206 * @param range The address range of this backing store 207 * @param pmem The host pointer to this backing store 208 */ 209 void serializeStore(CheckpointOut &cp, unsigned int store_id, 210 AddrRange range, uint8_t* pmem) const; 211 212 /** 213 * Unserialize the memories in the system. As with the 214 * serialization, this action is independent of how the address 215 * ranges are mapped to logical memories in the guest system. 216 */ |
217 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; | 217 void unserialize(CheckpointIn &cp) override; |
218 219 /** 220 * Unserialize a specific backing store, identified by a section. 221 */ 222 void unserializeStore(CheckpointIn &cp); 223 224}; 225 226#endif //__MEM_PHYSICAL_HH__ | 218 219 /** 220 * Unserialize a specific backing store, identified by a section. 221 */ 222 void unserializeStore(CheckpointIn &cp); 223 224}; 225 226#endif //__MEM_PHYSICAL_HH__ |