From f2bb044e9e715f05db8df5950ca704976b98174a Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 20 Jun 2012 23:33:23 +0200 Subject: add stub for mmap/munmap + fix build errors in subdirectories --- userprog/exception.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userprog/exception.c') 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) printf ("Unable to load page at %p in %s context.\n", fault_addr, user ? "user" : "kernel"); } - /* there's no page in our page table but we might still have an valid + /* there's no page in our page table but we might still have a valid stack access and need to expand our stack. so just check for that. the maxium offset we consider as a valid access is caused by the PUSHA instruction. it's 32 bytes below the current stack pointer */ -- cgit v1.2.3