projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80871b4
)
Typo in comment.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 4 Jan 2006 21:16:36 +0000
(21:16 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 4 Jan 2006 21:16:36 +0000
(21:16 +0000)
src/userprog/pagedir.c
patch
|
blob
|
history
diff --git
a/src/userprog/pagedir.c
b/src/userprog/pagedir.c
index 5e7fa9293f2850eb16cc876d2b728deaad42c222..820755ff7ce27911fa67e2926409a1e3f9bde507 100644
(file)
--- a/
src/userprog/pagedir.c
+++ b/
src/userprog/pagedir.c
@@
-89,7
+89,7
@@
lookup_page (uint32_t *pd, const void *vaddr, bool create)
address KPAGE in page directory PD.
UPAGE must not already be mapped.
KPAGE should probably be a page obtained from the user pool
- with palloc_get_page()
.
+ with palloc_get_page().
If WRITABLE is true, the new page is read/write;
otherwise it is read-only.
Returns true if successful, false if memory allocation