Fix minor typos

This commit is contained in:
Fumiya Shigemitsu 2019-10-21 21:01:07 +09:00 committed by Frans Kaashoek
parent c64aa44d7b
commit 05a7db1a0a

View file

@ -77,7 +77,7 @@ kvminithart()
// 21..29 -- 9 bits of level-1 index. // 21..29 -- 9 bits of level-1 index.
// 12..20 -- 9 bits of level-0 index. // 12..20 -- 9 bits of level-0 index.
// 0..11 -- 12 bits of byte offset within the page. // 0..11 -- 12 bits of byte offset within the page.
static pte_t * pte_t *
walk(pagetable_t pagetable, uint64 va, int alloc) walk(pagetable_t pagetable, uint64 va, int alloc)
{ {
if(va >= MAXVA) if(va >= MAXVA)