Fix minor typos

This commit is contained in:
Fumiya Shigemitsu 2019-10-21 21:01:07 +09:00 committed by Frans Kaashoek
parent 6cb6764bb1
commit ffcb883adf

View file

@ -65,9 +65,9 @@ kvminithart()
// A 64-bit virtual address is split into five fields:
// 39..63 -- must be zero.
// 30..38 -- 9 bits of level-2 index.
// 21..39 -- 9 bits of level-1 index.
// 21..29 -- 9 bits of level-1 index.
// 12..20 -- 9 bits of level-0 index.
// 0..12 -- 12 bits of byte offset within the page.
// 0..11 -- 12 bits of byte offset within the page.
pte_t *
walk(pagetable_t pagetable, uint64 va, int alloc)
{