sim: Fix need to save address space info during serialization.
authorAustin Harris <austinharris@utexas.edu>
Mon, 20 Nov 2017 21:55:40 +0000 (15:55 -0600)
committerAustin Harris <austin.dane.harris@gmail.com>
Tue, 21 Nov 2017 16:35:54 +0000 (16:35 +0000)
commit00232a868e4816d19c129fb3d6ef5519d7176d5a
tree7af8719efedfd729f4db9005b8da653623e776f9
parent03b231eb48a9d37c39a7ac8a95cb0c0fc7dae641
sim: Fix need to save address space info during serialization.

This fixes a fatal already mapped error in
FuncPageTable::allocate that occurs in some cases
when restoring from a checkpoint.

Change-Id: Ib726a69358118626663e42b7f14889b0d3a98de0
Reported-by: Ruohuang Zheng <zhengruohuang@gmail.com>
Signed-off-by: Austin Harris <austinharris@utexas.edu>
Reviewed-on: https://gem5-review.googlesource.com/5901
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/sim/mem_state.hh
src/sim/process.cc