X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fuserprog%2Fexception.c;h=4f3e4f9d120efcef5ddecf1fb845956e0e44f40d;hb=24445a35e861ddb50df05731ca4635fbd36e04a4;hp=dead766fdbde82b736394f1fc4c8ab92d371ff37;hpb=5fa7a9e2a12522684b0fbaa7d06555544563f124;p=pintos-anon diff --git a/src/userprog/exception.c b/src/userprog/exception.c index dead766..4f3e4f9 100644 --- a/src/userprog/exception.c +++ b/src/userprog/exception.c @@ -101,7 +101,8 @@ kill (struct intr_frame *f) #define PF_U 0x4 /* 0: kernel, 1: user process. */ /* Page fault handler. This is a skeleton that must be filled in - to implement virtual memory. + to implement virtual memory. Some solutions to project 2 may + also require modifying this code. At entry, the address that faulted is in CR2 (Control Register 2) and information about the fault, formatted as described in