Skip to content

Commit

Permalink
Merge branch 'master' of git+ssh://am.lcs/home/am0/6.828/xv6
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Clements committed Oct 25, 2009
2 parents 745e73c + aaf63e6 commit d6cd7d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion proc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. Switch itself doesn't save eip explicitly,
// but it is on the stack and allocproc() manipulates it.
struct context {
uint edi;
uint esi;
Expand Down

0 comments on commit d6cd7d0

Please sign in to comment.