Lecture: virtual memory applications

preparation

lab 2 questions

virtual memory recap

example: page fault

volatile char *p = (volatile char *)0xcafebeef;
cprintf("XXX: %x\n", *p);

example: isolation

examples: protection, virtualization, lazy allocation