浏览代码

Fix a typo in src/register/satp.rs

Co-authored-by: Vadim Kaushan <admin@disasm.info>
Luo Jia 4 年之前
父节点
当前提交
bd8151672f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/register/satp.rs

+ 1 - 1
src/register/satp.rs

@@ -84,7 +84,7 @@ pub enum Mode {
 pub enum Mode {
     /// No translation or protection
     Bare = 0,
-    /// Page-based 32-bit virtual addressing
+    /// Page-based 39-bit virtual addressing
     Sv39 = 8,
     /// Page-based 48-bit virtual addressing
     Sv48 = 9,