physical.cc (9356:b279bad40aa3) | physical.cc (9386:b08ec9cf2e3f) |
---|---|
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 --- 279 unchanged lines hidden (view full) --- 288} 289 290void 291PhysicalMemory::serializeStore(ostream& os, unsigned int store_id, 292 AddrRange range, uint8_t* pmem) 293{ 294 // we cannot use the address range for the name as the 295 // memories that are not part of the address map can overlap | 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 --- 279 unchanged lines hidden (view full) --- 288} 289 290void 291PhysicalMemory::serializeStore(ostream& os, unsigned int store_id, 292 AddrRange range, uint8_t* pmem) 293{ 294 // we cannot use the address range for the name as the 295 // memories that are not part of the address map can overlap |
296 string filename = "store" + to_string(store_id) + ".pmem"; | 296 string filename = name() + ".store" + to_string(store_id) + ".pmem"; |
297 long range_size = range.size(); 298 299 DPRINTF(Checkpoint, "Serializing physical memory %s with size %d\n", 300 filename, range_size); 301 302 SERIALIZE_SCALAR(store_id); 303 SERIALIZE_SCALAR(filename); 304 SERIALIZE_SCALAR(range_size); --- 140 unchanged lines hidden --- | 297 long range_size = range.size(); 298 299 DPRINTF(Checkpoint, "Serializing physical memory %s with size %d\n", 300 filename, range_size); 301 302 SERIALIZE_SCALAR(store_id); 303 SERIALIZE_SCALAR(filename); 304 SERIALIZE_SCALAR(range_size); --- 140 unchanged lines hidden --- |