X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8454ea5fa71f9a14328f16aec13537e592912d48..fa222c38f9b796be07ab4351ffc810a61a8fd705:/src/mc/mc_page_snapshot.cpp diff --git a/src/mc/mc_page_snapshot.cpp b/src/mc/mc_page_snapshot.cpp index 7bb42f03d1..2efe58b9a0 100644 --- a/src/mc/mc_page_snapshot.cpp +++ b/src/mc/mc_page_snapshot.cpp @@ -1,6 +1,7 @@ /* MC interface: definitions that non-MC modules must see, but not the user */ -/* Copyright (c) 2014-2015. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2015. 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. */ @@ -69,7 +70,7 @@ extern "C" { * @param page_count Number of pages of the region * @param pagenos */ -void mc_restore_page_snapshot_region(mc_process_t process, +void mc_restore_page_snapshot_region(simgrid::mc::Process* process, void* start_addr, simgrid::mc::PerPageCopy const& pages_copy) { for (size_t i = 0; i != pages_copy.page_count(); ++i) { @@ -82,7 +83,7 @@ void mc_restore_page_snapshot_region(mc_process_t process, // ***** High level API -void mc_region_restore_sparse(mc_process_t process, mc_mem_region_t reg) +void mc_region_restore_sparse(simgrid::mc::Process* process, mc_mem_region_t reg) { xbt_assert(((reg->permanent_address().address()) & (xbt_pagesize-1)) == 0, "Not at the beginning of a page");