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.c
diff --git
a/src/tests/userprog/sc-boundary.c
b/src/tests/userprog/sc-boundary.c
index 10340b43f175e929797a15d14bbf2c249c38f3dc..86371d6365b261dfeecc7c1cdbd90d59785cfe9c 100644
(file)
--- a/
src/tests/userprog/sc-boundary.c
+++ b/
src/tests/userprog/sc-boundary.c
@@
-14,6
+14,6
@@
test_main (void)
p[1] = 42;
/* 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(42)");
}