projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[pintos-anon]
/
src
/
userprog
/
pagedir.c
diff --git
a/src/userprog/pagedir.c
b/src/userprog/pagedir.c
index 3ad8123557a37dace964bcc18be56a431605f87d..d9cfd301e5d5997887eb64e894f8c82e5f282a03 100644
(file)
--- a/
src/userprog/pagedir.c
+++ b/
src/userprog/pagedir.c
@@
-203,7
+203,7
@@
active_pd (void)
`pd'.
See [IA32-v2a] "MOV--Move to/from Control Registers" and
[IA32-v3] 3.7.5. */
`pd'.
See [IA32-v2a] "MOV--Move to/from Control Registers" and
[IA32-v3] 3.7.5. */
- uint
32_t *
pd;
+ uint
ptr_t
pd;
asm ("mov %0, %%cr3" : "=r" (pd));
asm ("mov %0, %%cr3" : "=r" (pd));
- return p
d
;
+ return p
tov (pd)
;
}
}