projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caeb8f8
)
Add 14 (page fault) to named exceptions.
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 14 Oct 2004 04:22:51 +0000
(
04:22
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 14 Oct 2004 04:22:51 +0000
(
04:22
+0000)
(Why wasn't this here before?)
src/threads/interrupt.c
patch
|
blob
|
history
diff --git
a/src/threads/interrupt.c
b/src/threads/interrupt.c
index 3637b0013edd9c92f347f23f60e230ec00efcfbc..c886cc9d709ab71a3c4bc870eb758ea92321b1a5 100644
(file)
--- a/
src/threads/interrupt.c
+++ b/
src/threads/interrupt.c
@@
-118,6
+118,7
@@
intr_init (void)
intr_names[11] = "#NP Segment Not Present";
intr_names[12] = "#SS Stack Fault Exception";
intr_names[13] = "#GP General Protection Exception";
+ intr_names[14] = "#PF Page-Fault Exception";
intr_names[16] = "#MF x87 FPU Floating-Point Error";
intr_names[17] = "#AC Alignment Check Exception";
intr_names[18] = "#MC Machine-Check Exception";