summaryrefslogtreecommitdiff
path: root/kernel/riscv.h
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-09-03 16:25:11 -0400
committerRobert Morris <[email protected]>2019-09-03 16:25:11 -0400
commit9b9e2dd0f24428659d1f931009dd6429a9f5f1ac (patch)
tree304132a21a63ef8685b966cdb95c512a193483f5 /kernel/riscv.h
parent86a1d4b29570095ff7d668785ac9e37aa7436260 (diff)
downloadxv6-labs-9b9e2dd0f24428659d1f931009dd6429a9f5f1ac.tar.gz
xv6-labs-9b9e2dd0f24428659d1f931009dd6429a9f5f1ac.tar.bz2
xv6-labs-9b9e2dd0f24428659d1f931009dd6429a9f5f1ac.zip
fix sfence_vma comment
Diffstat (limited to 'kernel/riscv.h')
-rw-r--r--kernel/riscv.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/riscv.h b/kernel/riscv.h
index 0f83db6..9df3cc0 100644
--- a/kernel/riscv.h
+++ b/kernel/riscv.h
@@ -312,10 +312,7 @@ r_ra()
return x;
}
-// tell the machine to finish any previous writes to
-// PTEs, so that a subsequent use of a virtual
-// address or load of the SATP will see those writes.
-// perhaps this also flushes the TLB.
+// flush the TLB.
static inline void
sfence_vma()
{