projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Talk about write() to stdout more.
[pintos-anon]
/
grading
/
userprog
/
sc-bad-sp.c
diff --git
a/grading/userprog/sc-bad-sp.c
b/grading/userprog/sc-bad-sp.c
index 9d996e980a248eab143dc78718d24fa2ffae4c9a..11538788b920e8a8af01043feaa2849b38bf3535 100644
(file)
--- a/
grading/userprog/sc-bad-sp.c
+++ b/
grading/userprog/sc-bad-sp.c
@@
-5,7
+5,7
@@
int
main (void)
{
printf ("(sc-bad-sp) begin\n");
main (void)
{
printf ("(sc-bad-sp) begin\n");
- asm volatile ("mov $0x
c0101234, %
%esp; int $0x30");
+ asm volatile ("mov $0x
20101234,
%esp; int $0x30");
printf ("(sc-bad-sp) end\n");
return 0;
}
printf ("(sc-bad-sp) end\n");
return 0;
}