projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of THREAD_JOIN_IMPLEMENTED by adding thread_join() stub.
[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 11538788b920e8a8af01043feaa2849b38bf3535..bf92206a9d50e0805a3dfb7299c743f8df89df0c 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
$0x20101234, %esp; int $
0x30");
+ asm volatile ("mov
%esp, 0x20101234; int
0x30");
printf ("(sc-bad-sp) end\n");
return 0;
}
printf ("(sc-bad-sp) end\n");
return 0;
}