projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
28c37d8
)
Update docs.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 20 Sep 2004 18:03:47 +0000
(18:03 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 20 Sep 2004 18:03:47 +0000
(18:03 +0000)
doc/userprog.texi
patch
|
blob
|
history
diff --git
a/doc/userprog.texi
b/doc/userprog.texi
index 071ee2816683f807fa1e9008b977d46f60042a95..5de0e3572732f259e63156cf191fae56a3c494ca 100644
(file)
--- a/
doc/userprog.texi
+++ b/
doc/userprog.texi
@@
-704,14
+704,13
@@
the user virtual address space, in the page just below virtual address
You may find the non-standard @code{hex_dump()} function, declared in
@file{<stdio.h>}, useful for debugging your argument passing code.
Here's what it would show in the above example, given that
You may find the non-standard @code{hex_dump()} function, declared in
@file{<stdio.h>}, useful for debugging your argument passing code.
Here's what it would show in the above example, given that
-@code{PHYS_BASE} is @t{0xc0000000}, so that the dump starts at virtual
-address @t{0xbfffffcc}:
+@code{PHYS_BASE} is @t{0xc0000000}:
@example
@example
-
00 00 00 00 04 00 00 00-d8 ff ff bf ed ff ff bf |............
....|
-
f5 ff ff bf f8 ff ff bf-fc ff ff bf 00 00 00 00
|................|
-
00 2f 62 69 6e 2f 6c 73-00 2d 6c 00 2a 2e 68 00 |./bin/ls.-l.*.h.
|
-
2a 2e 63 00 |*.c.
|
+
bfffffc0 00 00 00 00 |
....|
+
bfffffd0 04 00 00 00 d8 ff ff bf-ed ff ff bf f5 ff ff bf
|................|
+
bfffffe0 f8 ff ff bf fc ff ff bf-00 00 00 00 00 2f 62 69 |............./bi
|
+
bffffff0 6e 2f 6c 73 00 2d 6c 00-2a 2e 68 00 2a 2e 63 00 |n/ls.-l.*.h.*.c.
|
@end example
@node System Calls
@end example
@node System Calls