projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clarify that adding code where interrupts are already disabled may be
[pintos-anon]
/
src
/
tests
/
vm
/
pt-grow-bad.c
diff --git
a/src/tests/vm/pt-grow-bad.c
b/src/tests/vm/pt-grow-bad.c
index 2629574cc6f4bb0479cdc7ee4a66746ccee2433c..d83890fb7c0252579d38c6fff77015d6d6e67a86 100644
(file)
--- a/
src/tests/vm/pt-grow-bad.c
+++ b/
src/tests/vm/pt-grow-bad.c
@@
-9,5
+9,5
@@
test_main (void)
{
/* Read from an address 4,096 bytes below the stack pointer.
Must kill the program. */
- asm volatile ("mov
%eax, [%esp - 4096]
");
+ asm volatile ("mov
l -4096(%esp), %eax
");
}