X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fuserprog%2Fexception.c;h=985cd175a1b9b9267b78c4f787219a7843acea2f;hb=f2d03264476b935aebd5191b4552f6601af9065f;hp=47bfbc278878595b1cf0fa15d73d374057a994d7;hpb=88966c181583326a323c00c64599afcb18ec327f;p=pintos-anon diff --git a/src/userprog/exception.c b/src/userprog/exception.c index 47bfbc2..985cd17 100644 --- a/src/userprog/exception.c +++ b/src/userprog/exception.c @@ -114,7 +114,7 @@ kill (struct intr_frame *f) At entry, the address that faulted is in CR2 (Control Register 2) and information about the fault, formatted as described in - the PF_* macros above, is in F's error_code member. The + the PF_* macros in exception.h, is in F's error_code member. The example code here shows how to parse that information. You can find more information about both of these in the description of "Interrupt 14--Page Fault Exception (#PF)" in