X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2d2995483b57463581ffdc4365fe1999ddc306c2..b20181dac355021101b67ba77ff07f135419e00c:/src/mc/sosp/mc_page_snapshot.cpp diff --git a/src/mc/sosp/mc_page_snapshot.cpp b/src/mc/sosp/mc_page_snapshot.cpp index ed5ad11175..a8e0640e93 100644 --- a/src/mc/sosp/mc_page_snapshot.cpp +++ b/src/mc/sosp/mc_page_snapshot.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -39,7 +39,7 @@ void mc_restore_page_snapshot_region(simgrid::mc::RemoteClient* process, void* s // ***** High level API -void mc_region_restore_sparse(simgrid::mc::RemoteClient* process, mc_mem_region_t reg) +void mc_region_restore_sparse(simgrid::mc::RemoteClient* process, simgrid::mc::RegionSnapshot* reg) { xbt_assert(((reg->permanent_address().address()) & (xbt_pagesize - 1)) == 0, "Not at the beginning of a page"); xbt_assert(simgrid::mc::mmu::chunkCount(reg->size()) == reg->page_data().page_count());