Skip to content
Snippets Groups Projects
Commit d6cd7d08 authored by Austin Clements's avatar Austin Clements
Browse files

Merge branch 'master' of git+ssh://am.lcs/home/am0/6.828/xv6

parents 745e73cd aaf63e62
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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