diff options
author | Austin Clements <[email protected]> | 2009-10-24 21:31:08 -0400 |
---|---|---|
committer | Austin Clements <[email protected]> | 2009-10-24 21:31:08 -0400 |
commit | d6cd7d0804c774ddafed204f577e274ad6d81aa3 (patch) | |
tree | dad703b291aaeda326d6a036f4be8b6ebca1de67 | |
parent | 745e73cd3da656b9f115abb1b92df3aa8ef88e98 (diff) | |
parent | aaf63e62d763216448854bc6f921943a5140462e (diff) | |
download | xv6-labs-d6cd7d0804c774ddafed204f577e274ad6d81aa3.tar.gz xv6-labs-d6cd7d0804c774ddafed204f577e274ad6d81aa3.tar.bz2 xv6-labs-d6cd7d0804c774ddafed204f577e274ad6d81aa3.zip |
Merge branch 'master' of git+ssh://am.lcs/home/am0/6.828/xv6
-rw-r--r-- | proc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |