aboutsummaryrefslogtreecommitdiff
path: root/src/supervisor.tex
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2019-11-06 00:35:13 -0800
committerAndrew Waterman <andrew@sifive.com>2019-11-06 00:35:13 -0800
commita7cf36df81cf938919eede162c7ff0fc88b28e91 (patch)
tree9eb2b70cadefe3856ff59126bf3841f3b3fc7aa8 /src/supervisor.tex
parent47745d937e4ad9dbf02571fd083a716f528ca5df (diff)
downloadriscv-isa-manual-a7cf36df81cf938919eede162c7ff0fc88b28e91.zip
riscv-isa-manual-a7cf36df81cf938919eede162c7ff0fc88b28e91.tar.gz
riscv-isa-manual-a7cf36df81cf938919eede162c7ff0fc88b28e91.tar.bz2
Convert samepage-commentary blocks to commentary blocks
Diffstat (limited to 'src/supervisor.tex')
-rw-r--r--src/supervisor.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supervisor.tex b/src/supervisor.tex
index e2c8781..677498b 100644
--- a/src/supervisor.tex
+++ b/src/supervisor.tex
@@ -838,13 +838,13 @@ values Bare, Sv39, and Sv48.}
\label{rv64satp}
\end{figure}
-\begin{samepage-commentary}
+\begin{commentary}
We store the ASID and the page table base address in the same CSR to allow the
pair to be changed atomically on a context switch. Swapping them
non-atomically could pollute the old virtual address space with new
translations, or vice-versa. This approach also slightly reduces the cost of
a context switch.
-\end{samepage-commentary}
+\end{commentary}
Table~\ref{tab:satp-mode} shows the encodings of the MODE field for RV32 and
RV64. When MODE=Bare, supervisor virtual addresses are equal to