# Node ID 9c32bcb74db9845d3839c5e23d947875c5ed1b92 # Parent c413157d45488d4319003de6b1872f14c335d36b diff --git a/src/mem/ruby/system/System.cc b/src/mem/ruby/system/System.cc --- a/src/mem/ruby/system/System.cc +++ b/src/mem/ruby/system/System.cc @@ -156,6 +156,10 @@ } } + if (m_access_backing_store) { + m_phys_mem->serialize(os); + } + // Store the cache-block size, so we are able to restore on systems with a // different cache-block size. CacheRecorder depends on the correct // cache-block size upon unserializing. @@ -273,6 +277,10 @@ m_cache_recorder = new CacheRecorder(uncompressed_trace, cache_trace_size, sequencer_map, block_size_bytes); + + if (m_access_backing_store) { + m_phys_mem->unserialize(cp, section); + } } void