提交 ab777a9a 创建 作者: Frans Kaashoek's avatar Frans Kaashoek

fine-tune comment

上级 fb486874
......@@ -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;
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论