xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ab777a9ad0355e6df16ee53bad348d5fbb1f347f
parent fb4868745cd9c8224e1d93066d0b4f4539be5689
Author: Frans Kaashoek <kaashoek@30-7-101.wireless.csail.mit.edu>
Date:   Wed,  7 Oct 2009 17:42:14 -0400

fine-tune comment

Diffstat:
Mproc.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proc.h b/proc.h @@ -16,8 +16,8 @@ // Contexts are stored at the bottom of the stack they // describe; the stack pointer is the address of the context. // The layout of the context matches the layout of the stack in swtch.S -// at "Switch stacks" comment. eip is included in the context -// so that allocproc() can easily change the return address on the stack. +// at "Switch stacks" comment. Switch itself doesn't save eip explicitly, +// but it is on the stack and allocproc() manipulates it. struct context { uint edi; uint esi;