commit 6e5e71abe5d5783b799490a44b43bf006c8b8044
parent ad5b0eca116e3da5049a37627402b2ee363e5985
Author: Roberto E. Vargas Caballero <roberto.vargas@midokura.com>
Date: Tue, 22 Nov 2022 19:26:37 +0100
os9: Whitespace change
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/os9/map.c b/src/os9/map.c
@@ -137,10 +137,13 @@ newmap(Map *from)
pto = mp->pages;
for (pfrom = from->pages; pfrom; pfrom = pfrom->next) {
assert(pfrom->va == pto->va);
+
vmap(pto->pa, (uintptr_t) bufto, MW);
vmap(pfrom->pa, (uintptr_t) buffrom, MR);
+
memcpy(bufto, buffrom, PAGESIZE);
barrier(DATA);
+
pto = pto->next;
}