X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ecd5f7562caf1d443bf22788fa5f4fac408776ec..52fd53c1927b271828348841b782281f64b7bef8:/src/mc/RegionSnapshot.cpp?ds=sidebyside diff --git a/src/mc/RegionSnapshot.cpp b/src/mc/RegionSnapshot.cpp index 69a40e1300..a659f9ae6f 100644 --- a/src/mc/RegionSnapshot.cpp +++ b/src/mc/RegionSnapshot.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. +/* Copyright (c) 2007-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -12,6 +12,7 @@ #endif #include "mc/mc.h" +#include "src/mc/mc_config.hpp" #include "src/mc/mc_snapshot.hpp" #include "src/mc/ChunkedData.hpp" @@ -137,8 +138,8 @@ RegionSnapshot sparse_region(RegionType region_type, "Not at the beginning of a page"); size_t page_count = simgrid::mc::mmu::chunkCount(size); - simgrid::mc::ChunkedData page_data( - mc_model_checker->page_store(), *process, permanent_addr, page_count); + simgrid::mc::ChunkedData page_data(mc_model_checker->page_store(), *process, RemotePtr(permanent_addr), + page_count); simgrid::mc::RegionSnapshot region( region_type, start_addr, permanent_addr, size);