Skip to content
Snippets Groups Projects
Commit ab777a9a authored by Frans Kaashoek's avatar Frans Kaashoek
Browse files

fine-tune comment

parent fb486874
No related branches found
No related tags found
No related merge requests found
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
// Contexts are stored at the bottom of the stack they // Contexts are stored at the bottom of the stack they
// describe; the stack pointer is the address of the context. // describe; the stack pointer is the address of the context.
// The layout of the context matches the layout of the stack 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 // at "Switch stacks" comment. Switch itself doesn't save eip explicitly,
// so that allocproc() can easily change the return address on the stack. // but it is on the stack and allocproc() manipulates it.
struct context { struct context {
uint edi; uint edi;
uint esi; uint esi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment