projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert Intel-style assembly back to AT&T-style.
[pintos-anon]
/
src
/
tests
/
userprog
/
sc-boundary-2.c
diff --git
a/src/tests/userprog/sc-boundary-2.c
b/src/tests/userprog/sc-boundary-2.c
index c287d248fbb8f1101633ba76196061784be8c8c6..47d28c6dfcbcec1de4b2240db03cf6671ef5b5e0 100644
(file)
--- a/
src/tests/userprog/sc-boundary-2.c
+++ b/
src/tests/userprog/sc-boundary-2.c
@@
-13,6
+13,6
@@
test_main (void)
p[1] = 67;
/* Invoke the system call. */
- asm volatile ("mov
%%esp, %0; int
0x30" :: "g" (p));
+ asm volatile ("mov
l %0, %%esp; int $
0x30" :: "g" (p));
fail ("should have called exit(67)");
}