diff options
| author | manuel <manuel@mausz.at> | 2012-06-20 23:33:23 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-06-20 23:33:23 +0200 |
| commit | f2bb044e9e715f05db8df5950ca704976b98174a (patch) | |
| tree | 4bb716fdde87ad38a0c83f5ef18d5436dbf85648 /userprog/exception.c | |
| parent | abd273ce0a9ae9267f8b0a144ea9b56d8912f9b5 (diff) | |
| download | progos-f2bb044e9e715f05db8df5950ca704976b98174a.tar.gz progos-f2bb044e9e715f05db8df5950ca704976b98174a.tar.bz2 progos-f2bb044e9e715f05db8df5950ca704976b98174a.zip | |
add stub for mmap/munmap + fix build errors in subdirectories
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 */ |
