diff options
Diffstat (limited to 'userprog/exception.c')
| -rw-r--r-- | userprog/exception.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userprog/exception.c b/userprog/exception.c index debe7f0..a2873d5 100644 --- a/userprog/exception.c +++ b/userprog/exception.c | |||
| @@ -175,7 +175,7 @@ page_fault (struct intr_frame *f) | |||
| 175 | printf ("Unable to load page at %p in %s context.\n", | 175 | printf ("Unable to load page at %p in %s context.\n", |
| 176 | fault_addr, user ? "user" : "kernel"); | 176 | fault_addr, user ? "user" : "kernel"); |
| 177 | } | 177 | } |
| 178 | /* there's no page in our page table but we might still have an valid | 178 | /* there's no page in our page table but we might still have a valid |
| 179 | stack access and need to expand our stack. so just check for that. | 179 | stack access and need to expand our stack. so just check for that. |
| 180 | the maxium offset we consider as a valid access is caused by the PUSHA | 180 | the maxium offset we consider as a valid access is caused by the PUSHA |
| 181 | instruction. it's 32 bytes below the current stack pointer */ | 181 | instruction. it's 32 bytes below the current stack pointer */ |
