XV6 Virtual Memory
How a VA gets translated to PA?

RISC-V VA index
What is in PTE?
Where does page table stored?
Would it be reasonable for page table to just be an array of PTEs?
How does RISC-V solve this?
How can MMU figure out where the page table is?
What if PTE V bit is not set, or R/W bit not set?
VM in xv6
Jump between user program and kernel
Hands on!
Setup kernel address space
Code: Map physical address to virtual address
Code: Walk the Pagetable to find PTE
Key Features
Reference
Last updated