Lecture: Virtual memory

preparation

administrivia

overview

hardware support

int main(void)
{
  *(volatile int *)0 = 0;
  return 0;
}

page table

xv6 memory management

page table 0x0000000087fff000
 ..0: pte 0x0000000021fff801 pa 0x0000000087ffe000
 .. ..128: pte 0x0000000021fff401 pa 0x0000000087ffd000
 .. .. ..0: pte 0x0000000004000007 pa 0x0000000010000000

applications

lab alloc