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] Move pseudo-MMU code in its own namespace
[simgrid.git]
/
src
/
mc
/
PageStore.hpp
diff --git
a/src/mc/PageStore.hpp
b/src/mc/PageStore.hpp
index
8ed78ad
..
ac0ac6f
100644
(file)
--- a/
src/mc/PageStore.hpp
+++ b/
src/mc/PageStore.hpp
@@
-174,7
+174,7
@@
void PageStore::ref_page(size_t pageno)
inline __attribute__((always_inline))
const void* PageStore::get_page(std::size_t pageno) const
{
inline __attribute__((always_inline))
const void* PageStore::get_page(std::size_t pageno) const
{
- return
mc_page_from_number(this->memory_, pageno
);
+ return
(void*) simgrid::mc::mmu::join(pageno, (std::uintptr_t) this->memory_
);
}
inline __attribute__((always_inline))
}
inline __attribute__((always_inline))