Fix minor typos
This commit is contained in:
parent
9ead904afe
commit
90eb90b5e2
|
@ -67,9 +67,9 @@ kvminithart()
|
||||||
// A 64-bit virtual address is split into five fields:
|
// A 64-bit virtual address is split into five fields:
|
||||||
// 39..63 -- must be zero.
|
// 39..63 -- must be zero.
|
||||||
// 30..38 -- 9 bits of level-2 index.
|
// 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.
|
// 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.
|
||||||
static pte_t *
|
static pte_t *
|
||||||
walk(pagetable_t pagetable, uint64 va, int alloc)
|
walk(pagetable_t pagetable, uint64 va, int alloc)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue