diff options
| author | manuel <manuel@mausz.at> | 2012-03-27 14:45:17 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-03-27 14:45:17 +0200 |
| commit | 958397c44b1dc388ad23bf6b8599062c66bb142a (patch) | |
| tree | 4e611618fdbddc1e39f12caf6e2860439eaafdec | |
| parent | fb6b6d885f33a1dedf154d3fe873c1ee9639d1cd (diff) | |
| download | progos-958397c44b1dc388ad23bf6b8599062c66bb142a.tar.gz progos-958397c44b1dc388ad23bf6b8599062c66bb142a.tar.bz2 progos-958397c44b1dc388ad23bf6b8599062c66bb142a.zip | |
fix comment
| -rw-r--r-- | userprog/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userprog/process.c b/userprog/process.c index f5b7431..bd4f6b0 100644 --- a/userprog/process.c +++ b/userprog/process.c | |||
| @@ -622,7 +622,7 @@ setup_stack (void **esp, const char *args) | |||
| 622 | stack_total = PHYS_BASE - *esp; | 622 | stack_total = PHYS_BASE - *esp; |
| 623 | printf("stack_total=%u\n", stack_total); | 623 | printf("stack_total=%u\n", stack_total); |
| 624 | printf("unaligned=%p off=%d\n", *esp, PHYS_BASE - *esp); | 624 | printf("unaligned=%p off=%d\n", *esp, PHYS_BASE - *esp); |
| 625 | *esp -= (4 - stack_total % sizeof(char *)); /* by thomas */ | 625 | *esp -= (4 - stack_total % sizeof(char *)); /* thanks to thomas */ |
| 626 | printf("aligned=%p off=%d\n", *esp, PHYS_BASE - *esp); | 626 | printf("aligned=%p off=%d\n", *esp, PHYS_BASE - *esp); |
| 627 | 627 | ||
| 628 | /* Currently we assume that 'argc = 0' */ | 628 | /* Currently we assume that 'argc = 0' */ |
