diff options
Diffstat (limited to 'src/mem/physical.cc')
-rw-r--r-- | src/mem/physical.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/physical.cc b/src/mem/physical.cc index 7337c800c..91b9052a1 100644 --- a/src/mem/physical.cc +++ b/src/mem/physical.cc @@ -557,7 +557,8 @@ PhysicalMemory::unserialize(Checkpoint *cp, const string §ion) UNSERIALIZE_SCALAR(_size); if (size() > params()->range.size()) - fatal("Memory size has changed!\n"); + fatal("Memory size has changed! size %lld, param size %lld\n", + size(), params()->range.size()); pmemAddr = (uint8_t *)mmap(NULL, size(), PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); |