diff options
author | Robert Morris <[email protected]> | 2019-09-03 16:25:11 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-09-03 16:25:11 -0400 |
commit | 9b9e2dd0f24428659d1f931009dd6429a9f5f1ac (patch) | |
tree | 304132a21a63ef8685b966cdb95c512a193483f5 | |
parent | 86a1d4b29570095ff7d668785ac9e37aa7436260 (diff) | |
download | xv6-labs-9b9e2dd0f24428659d1f931009dd6429a9f5f1ac.tar.gz xv6-labs-9b9e2dd0f24428659d1f931009dd6429a9f5f1ac.tar.bz2 xv6-labs-9b9e2dd0f24428659d1f931009dd6429a9f5f1ac.zip |
fix sfence_vma comment
-rw-r--r-- | kernel/riscv.h | 5 |
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() { |