summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFumiya Shigemitsu <[email protected]>2019-10-21 21:01:07 +0900
committerFrans Kaashoek <[email protected]>2020-10-14 20:28:46 -0400
commit05a7db1a0a20187760d8a78ff7badfa4cc7e3314 (patch)
tree810d6d0ab6ee7c31b42d0635e7f91ba5722cab92
parentc64aa44d7b5167f5b061b1e2fdf94d240a98b2bb (diff)
downloadxv6-labs-05a7db1a0a20187760d8a78ff7badfa4cc7e3314.tar.gz
xv6-labs-05a7db1a0a20187760d8a78ff7badfa4cc7e3314.tar.bz2
xv6-labs-05a7db1a0a20187760d8a78ff7badfa4cc7e3314.zip
Fix minor typos
-rw-r--r--kernel/vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/vm.c b/kernel/vm.c
index 50245ff..b47f111 100644
--- a/kernel/vm.c
+++ b/kernel/vm.c
@@ -77,7 +77,7 @@ kvminithart()
// 21..29 -- 9 bits of level-1 index.
// 12..20 -- 9 bits of level-0 index.
// 0..11 -- 12 bits of byte offset within the page.
-static pte_t *
+pte_t *
walk(pagetable_t pagetable, uint64 va, int alloc)
{
if(va >= MAXVA)