fine tune comment
This commit is contained in:
parent
ccd980bedf
commit
fb4868745c
1 changed files with 3 additions and 1 deletions
4
proc.h
4
proc.h
|
@ -15,7 +15,9 @@
|
|||
// x86 convention is that the caller has saved them.
|
||||
// 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 must match the code in swtch.S.
|
||||
// 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.
|
||||
struct context {
|
||||
uint edi;
|
||||
uint esi;
|
||||
|
|
Loading…
Reference in a new issue