A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mc: Kill a C type and use the C++ one
[simgrid.git]
/
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
ed5ad11
..
a8e0640
100644
(file)
--- a/
src/mc/sosp/mc_page_snapshot.cpp
+++ b/
src/mc/sosp/mc_page_snapshot.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2014-201
8
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2014-201
9
. 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. */
/* 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
// ***** 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());
{
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());